Jari Vuoksenranta writes:
> 
> I have set $CFLAGS to "-Ofast" and if I add "-IPA" after "cc"
> this links without errors.

I'm not entirely sure what your question or problem report is.  If you
don't override the default CFLAGS, everything works; if you do override
the default CFLAGS, then it would behoove you to know what you're doing.
In particular, -Ofast on SGI typically implies -IPA, and if you compile
with -IPA you must also (as you discovered) link with -IPA; this is all
documented in the man page for cc.  So, if you're going to set CFLAGS to
-Ofast, you should probably set LDFLAGS to -Ofast as well.

-Larry Jones

It's no fun to play games with a poor sport. -- Calvin

Reply via email to