How can I switch compiler from clang to gcc46?

Florent Peterschmitt florent at peterschmitt.fr
Sat Mar 16 13:56:40 UTC 2013


If you put these environment variables into make.conf ?

Le 16/03/2013 13:53, Beeblebrox a écrit :
> I changed env as proposed, to full path (path is correct, btw)
> CC=/usr/local/bin/gcc46
> CXX=/usr/local/bin/g++46
> CPP=/usr/local/bin/cpp46
> I also placed same in the Makefile of 3rd party source.
> 
>> you need to .. persuade your Makefile to run a different compiler.
> That's exactly what I want to do, but I'm not getting there.
> Any other ideas? Should I start tearing down $PATH?
> 
> 
> 
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-I-switch-compiler-from-clang-to-gcc46-tp5796040p5796052.html
> Sent from the freebsd-ports mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130316/6e6da467/attachment.sig>


More information about the freebsd-ports mailing list