LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   sun studio compiler 12 couldn't able to detect .cpv files (https://www.linuxquestions.org/questions/solaris-opensolaris-20/sun-studio-compiler-12-couldnt-able-to-detect-cpv-files-693481/)

vijaymukka 12-28-2008 12:35 PM

sun studio compiler 12 couldn't able to detect .cpv files
 
Team,
Recently the compiler has migrated from gcc to sun studio compiler 12, Now couldn't able to compile *.cpv and couldn't able to detect the *.hpv file.Can you telll me what needs to be done to work.

knudfl 12-31-2008 07:58 AM

Welcome to Linux Questions.

1) May be the new compiler is "suffix sensitive" and since
" .cpv " and " .hpv " are totally unknown suffix's, you might
rename the files to *.cpp and *.hpp if they really are c++
code. ( or are they c code ??? , then .c )

2) Some applications depends on gnu gcc (usr/bin/gcc) and
libgcc, then reinstall gcc again and call the new compiler with
'CC=cc-"new" <command>' and 'CXX=c++"new" <command>'
....


All times are GMT -5. The time now is 12:01 PM.