Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 14:15:19 -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:  <1363986919792-5798201.post@n5.nabble.com>
In-Reply-To: <CADLo839d%2BmU0u5HNwWQU=y581U16rG41TO69%2BdSB4EMwV79bPg@mail.gmail.com>
References:  <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> <1363446444086-5796069.post@n5.nabble.com> <1363447339256-5796071.post@n5.nabble.com> <CADLo838JLxGp2z8ah5C_38f76EQYuL7995svtfes86YrXSM1ug@mail.gmail.com> <1363451049017-5796083.post@n5.nabble.com> <1363451587465-5796085.post@n5.nabble.com> <CADLo839d%2BmU0u5HNwWQU=y581U16rG41TO69%2BdSB4EMwV79bPg@mail.gmail.com>

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



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