On Mon, Jul 21, 2008 at 02:12:08AM -0700, Mladen Nikitovic wrote: > There is an indication that the Sun Studio compiler is used because > the "cw -_cc" switch is used. On the other hand, the "-_gcc" switch > is also used to set some flags, which makes it confusing.
The options -_cc and -_gcc specify which compiler to use. The options -_cc=blah and -_gcc=blah are used to specify options to be given only when executing the specified compiler (whether as shadow or primary). The genconsts program is built using NATIVECC which is defined in Makefile.master. It seems like it should be getting defined to the same thing as CC, which would be gcc if you've set up your environment correctly. But for whatever reason it's being built with cc instead. You now get to track down the combination of makefile goo and/or environment that is causing this. Also, to figure out the underlying compilers, use cw -_versions. This will also tell you whether your environment is set up the way you expect. -- Keith M Wesolowski "Sir, we're surrounded!" Fishworks "Excellent; we can attack in any direction!"
