* CFLAGS
@ 2002-09-04 12:40 Irina Rozet
2002-09-05 5:19 ` CFLAGS Bo Thorsen
0 siblings, 1 reply; 2+ messages in thread
From: Irina Rozet @ 2002-09-04 12:40 UTC (permalink / raw)
To: gcc
Hi!
I compiled gcc -2.95 on Solaris 8 sparc, and got an issue with CFLAGS
My native cc compiler has optimization flag "-xO2" , it does not
understand "-O2".
So I set CFLAGS=-xO2 before run configure.
Then compilation with cc compiler was OK, but this flag was passed to
xgcc also.
Again, xgcc does not understand -xO2, and I had to correct Makefiles
manualy.
Best regards,
Irina
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CFLAGS
2002-09-04 12:40 CFLAGS Irina Rozet
@ 2002-09-05 5:19 ` Bo Thorsen
0 siblings, 0 replies; 2+ messages in thread
From: Bo Thorsen @ 2002-09-05 5:19 UTC (permalink / raw)
To: Irina Rozet, gcc
On Wednesday 04 September 2002 21:35, Irina Rozet wrote:
> Hi!
>
> I compiled gcc -2.95 on Solaris 8 sparc, and got an issue with CFLAGS
> My native cc compiler has optimization flag "-xO2" , it does not
> understand "-O2".
> So I set CFLAGS=-xO2 before run configure.
> Then compilation with cc compiler was OK, but this flag was passed to
> xgcc also.
> Again, xgcc does not understand -xO2, and I had to correct Makefiles
> manualy.
Compile gcc without optimization first, then recompile using gcc with
optimization.
Bo.
--
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-05 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-04 12:40 CFLAGS Irina Rozet
2002-09-05 5:19 ` CFLAGS Bo Thorsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).