From owner-freebsd-ports@FreeBSD.ORG Fri Mar 22 21:15:20 2013 Return-Path: Delivered-To: freebsd-ports@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 68CB348C for ; Fri, 22 Mar 2013 21:15:20 +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 4B1AB9FE for ; Fri, 22 Mar 2013 21:15:20 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UJ9J1-00062K-Pk for freebsd-ports@freebsd.org; Fri, 22 Mar 2013 14:15:19 -0700 Date: Fri, 22 Mar 2013 14:15:19 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1363986919792-5798201.post@n5.nabble.com> In-Reply-To: References: <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> <1363451049017-5796083.post@n5.nabble.com> <1363451587465-5796085.post@n5.nabble.com> Subject: Re: How can I switch compiler from clang to gcc46? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 21:15:20 -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/How-can-= I-switch-compiler-from-clang-to-gcc46-tp5796040p5798201.html Sent from the freebsd-ports mailing list archive at Nabble.com.