I would hesitate to call it a bug!

Now assuming 'which cc'
 returns the one in 
/usr/gnu/bin which inturn links to sfw/bin/gcc on my machine
I found making it point to /usr/bin/cc which inturn points to 
/opt/SunStudioExpress/bin/cc
Then it doesn't complain about the options.
Basically making sure cc points to a Sun compiler not a gcc one seems to cure 
it!!

Please be aware I'm not a compiler expert and not sure what the implications of 
using a Sun compiler to make some pm's and gcc for others would be but it's a 
thought!

Paul
-- 
This message posted from opensolaris.org

Reply via email to