Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 14:13:53 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-current@freebsd.org
Subject:   Re: compiler confusion: gcc cannot be located and causes compiler errors
Message-ID:  <1363986833835-5798199.post@n5.nabble.com>
In-Reply-To: <1363928833296-5797872.post@n5.nabble.com>
References:  <1363877898593-5797633.post@n5.nabble.com> <1363928833296-5797872.post@n5.nabble.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/compiler=
-confusion-gcc-cannot-be-located-and-causes-compiler-errors-tp5797633p57981=
99.html
Sent from the freebsd-current mailing list archive at Nabble.com.



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