@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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to