Building GCC & CFLAGS settings

Andreas Schwab schwab@redhat.com
Thu May 6 08:25:00 GMT 2010


Steve Ellcey <sje@cup.hp.com> writes:

> HJ seems to have the way to make it work, set CC to 'gcc -mlp64' instead
> of setting CC to 'gcc' and CFLAGS to '-mlp64' but that seems a bit
> counter-intuitive to the meaning of the flags.

'-mlp64' is an ABI-changing flag, so it is better to put it in CC, since
you are, in effect, using an incompatible compiler.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Gcc mailing list