Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 06:01:29 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   How can I switch compiler from clang to gcc46?
Message-ID:  <1363438889978-5796040.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
I need to compile a source not in the ports tree. The source needs to use the
gcc compiler (I have lang gcc (46) installed). Sourec make file complains it
cannot find gcc46.

To test, I placed in my environment:
setenv CC gcc46
setenv CXX g++46
setenv CPP cpp46

When I do "cc -v" I still get clang output and not gcc46. What am I doing
wrong here?



--
View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-I-switch-compiler-from-clang-to-gcc46-tp5796040.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?1363438889978-5796040.post>