gcc295 and -march

Walter Venable weaseal at hotmail.com
Mon Sep 13 06:22:18 PDT 2004

Does this behavior not already happen automatically?  I thought that if gcc 
2 were used it would set it to the closest possible machine achitecture to 
what you specified in make.conf, such as "i686" if you had set "athlon".

Note that 2.95 is still the default compiler on 4.x.

-Walter Venable

>From: Joel Ray Holveck <joelh at piquan.org>
>To: ports at freebsd.org
>Subject: gcc295 and -march
>Date: Sun, 12 Sep 2004 23:46:28 -0700
>Every now and then, I come across a port (currently lang/clisp) that
>requires gcc 2.95.  That gcc doesn't support the -march=athlon flag,
>which is set from my CPUTYPE in /etc/make.conf.
>I was going to see if I could write a patch to downgrade CPUTYPE
>depending on the value of USE_GCC, but wanted to see if somebody more
>knowledgeable than I had any thoughts on the matter first.
>Joel Ray Holveck - joelh at piquan.org
>    Fourth law of programming:
>    Anything that can go wrong wi
>sendmail: segmentation violation - core dumped
>freebsd-ports at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

Don’t just search. Find. Check out the new MSN Search! 

More information about the freebsd-ports mailing list