Re: compiler confusion: gcc cannot be located and causes compiler errors

From: Beeblebrox <zaphod_at_berentweb.com>
Date: Fri, 22 Mar 2013 14:13:53 -0700 (PDT)
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é Ladan



--
View this message in context: http://freebsd.1045724.n5.nabble.com/compiler-confusion-gcc-cannot-be-located-and-causes-compiler-errors-tp5797633p5798199.html
Sent from the freebsd-current mailing list archive at Nabble.com.
Received on Fri Mar 22 2013 - 20:13:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC