Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 08:07:24 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: How can I switch compiler from clang to gcc46?
Message-ID:  <1363446444086-5796069.post@n5.nabble.com>
In-Reply-To: <1363444658690-5796066.post@n5.nabble.com>
References:  <1363438889978-5796040.post@n5.nabble.com> <CAF6rxg=k4Bx57Df1YA497iOXUNBS7jjL=k-aBOqOtEbCvsPS8Q@mail.gmail.com> <1363443540656-5796061.post@n5.nabble.com> <1363443707095-5796064.post@n5.nabble.com> <1363444658690-5796066.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1363446444086-5796069.post>