Doug Henry wrote:
Looks like I may have missed a couple options (-R and -KPIC). As far
as I can tell, the compiler should work exactly like the already
supported SunOS version of the compiler. Just copy the options from
the already included SunOS.cmake file, which are almost the same as
the
Try something like this:
IF(WIN32)
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
CreateShortCut \\\"$SMPROGRAMS$STARTMENU_FOLDERBatch
File.lnk\\\" \\\"$INSTDIRMyBatchFile.bat\\\"
CreateShortCut \\\"$SMPROGRAMS$STARTMENU_FOLDERProject
ReadMe.lnk\\\" \\\"$INSTDIRREADME.html\\\"
I noticed that the default options for build mode may be a bit strange for sun compilers. The release mode uses -xO2 and the minimum size mode uses -xO3 (higher optimization level?). There seems to be an option -xspace which reads:
-xspace Do not do optimizations that increase code
Looks like I may have missed a couple options (-R and -KPIC). As far as I can tell, the compiler should work exactly like the already supported SunOS version of the compiler. Just copy the options from the already included
SunOS.cmake file, which are almost the same as the file I sent you.On 10/
I made the file suggested (attached) and it seems to work. I will test it in a larger project over the next few days and report if any additional changes need to be made. I would like to caveat this fix with the warning that I know very little about the sun compilers, but my "grep and hack" strat
Filipe Sousa wrote:
> Jonathan Hansen wrote:
>> This more of a compiler question but I figured since people here are make
>> folks you might know and save me signing up for another list...
>>
>> Is there a way in GCC to eliminate an include directory from warnings?
>>
>> Example:
>>
>> gcc -Wall -I
Jonathan Hansen wrote:
> This more of a compiler question but I figured since people here are make
> folks you might know and save me signing up for another list...
>
> Is there a way in GCC to eliminate an include directory from warnings?
>
> Example:
>
> gcc -Wall -I/tmp/messycode foo.cpp foo.