Try setting the CC and CXX (or is it CPP, i always forget) environment variables to "gcc" and "g++"
-steve On Tue, Sep 05, 2006 at 09:06:57AM -0700, Frank Mash wrote: > Thank you for your reply. > > >> Yup, looks like its mixing both gcc and SunC compiler options. > > >> The -xc99=none is a Sun C compiler option. > > >> eg, '-O2 -MT -MB -MP -MF' are all gcc options, whereas '-xO3 -md -x...' > are all SunC compiler options. > > >> The configure script seems to be doing this for some reason. You don't > have CFLAGS or CPPFLAGS set in your environment per chance ? > > How can I force configure and make to use the gcc compiler? Do I just need to > set CFLAGS and CPPFLAGS in my environment. If so, what values should I set > them to? I know this is a 101 question but your answer would assist me a lot. > > Thanks, > Frank > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-discuss mailing list > [email protected] -- stephen lau // [EMAIL PROTECTED] | 650.786.0845 | http://whacked.net opensolaris // solaris kernel development _______________________________________________ opensolaris-discuss mailing list [email protected]
