From owner-freebsd-current@FreeBSD.ORG Fri Mar 22 21:13:54 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E3B72FF for ; Fri, 22 Mar 2013 21:13:54 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 841869CA for ; Fri, 22 Mar 2013 21:13:54 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UJ9Hd-0005vu-R9 for freebsd-current@freebsd.org; Fri, 22 Mar 2013 14:13:53 -0700 Date: Fri, 22 Mar 2013 14:13:53 -0700 (PDT) From: Beeblebrox To: freebsd-current@freebsd.org 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> Subject: Re: compiler confusion: gcc cannot be located and causes compiler errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 21:13:54 -0000 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.