On Fri, 2008-03-28 at 09:29 -0700, Rod Evans wrote: > Mark Phalan wrote: > > On Fri, 2008-03-28 at 10:15 -0500, Nicolas Williams wrote: > >> On Fri, Mar 28, 2008 at 03:58:55PM +0100, Mark Phalan wrote: > >>> I don't think the problem is that '-g' appears twice. It works for me > >>> now when I use: > >>> > >>> COPTFLAG="-xO0 -g" COPTFLAG64="-xO0 -g" > >>> > >>> No linking errors and no optimizations. > >> Oh good. Thanks. > > > > > > The > > > > COPTFLAG= COPTFLAG64= > > > > option didn't work either. I got the linking errors all over again. It > > would nice to know what changed that caused this.. > > What version of the compilers are you using?
When I'm running on a build machine: $ /ws/onnv-tools/SUNWspro/SS11/bin/cc -V cc: Sun C 5.8 Patch 121016-05 2007/01/10 usage: cc [ options] files. Use 'cc -flags' for details I also get the errors with an older compiler on my own machine: $ /data/dev/tools/onnv-tools/SUNWspro/SS11/bin/cc -V cc: Sun C 5.8 Patch 121016-02 2006/03/31 usage: cc [ options] files. Use 'cc -flags' for details Something must have changed in ON. This worked fine (with the same compilers) a couple of builds ago. -Mark