How can I switch compiler from clang to gcc46?

Beeblebrox zaphod at berentweb.com
Sat Mar 16 13:53:13 UTC 2013


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.


More information about the freebsd-ports mailing list