I seem to have found the solution to the problem: lang/gcc needs to have
symlinks in /usr/bin.
Create these:
# ln -s /usr/local/bin/gcc46 /usr/bin/gcc
# ln -s /usr/local/bin/g++46 /usr/bin/g++

This way most, "gcc not found" errors should disappear.
With many thanks to René Ladan



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/How-can-I-switch-compiler-from-clang-to-gcc46-tp5796040p5798201.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to