How can I switch compiler from clang to gcc46?
Beeblebrox
zaphod at berentweb.com
Sat Mar 16 15:07:25 UTC 2013
@David: Ooops, forgot that bit. My shell also csh. Info for "un-modified"
environment (no extra setenv or alias)
uname -> 10.0-CURRENT #1 r248212, amd64
The extras you asked for:
$which make -> /usr/bin/make
$ make -V CC -> cc
$ echo $CC -> CC: Undefined variable.
$ setenv CC /usr/local/bin/gcc46
$ echo $CC -> /usr/local/bin/gcc46
$ make -V CC -> /usr/local/bin/gcc46
$ unsetenv CC
$ echo $CC -> CC: Undefined variable.
$ make -V CC -> cc
$ make CC=/usr/local/bin/gcc46 -V CC -> /usr/local/bin/gcc46
Same output / results as yours...
Regards.
--
View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-I-switch-compiler-from-clang-to-gcc46-tp5796040p5796069.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
More information about the freebsd-ports
mailing list