From owner-freebsd-ports@FreeBSD.ORG Sat Mar 16 14:19:01 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95F2AC24 for ; Sat, 16 Mar 2013 14:19:01 +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 72784FD3 for ; Sat, 16 Mar 2013 14:19:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UGrwq-00008J-LM for freebsd-ports@freebsd.org; Sat, 16 Mar 2013 07:19:00 -0700 Date: Sat, 16 Mar 2013 07:19:00 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1363443540656-5796061.post@n5.nabble.com> In-Reply-To: References: <1363438889978-5796040.post@n5.nabble.com> Subject: Re: How can I switch compiler from clang to gcc46? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Sat, 16 Mar 2013 14:19:01 -0000 Hi, I tried both "CC= /usr/local/bin/gcc46" and "export CC= /usr/local/bin/gcc46", but no good. Per request, enclosing the default Makefile; I'm trying to compile OpenWRT on native FreeBSD. https://docs.google.com/file/d/0Bxs_eepbMt6qV3Y3bDFtbnBUZFk/edit?usp=sharing The Makefile is unable to locate these either (but they are installed) Please install ncurses. (Missing libncurses.so or ncurses.h) Please install zlib. (Missing libz.so or zlib.h) from devel/ncurses-devel: /usr/local/include/ncurses/ncurses.h from archivers/lzlib: /usr/local/lib/compat/libz.so.4 Previously the compile broke at e2fsprogs and I wanted to test whether it has been fixed. OpenWRT is starting to support NetBSD compile environment, so the Makefile should be compatible... Source also has a BSDmakefile, with only this in it: world ${.TARGETS}: @gmake $@ Thanks and regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-I-switch-compiler-from-clang-to-gcc46-tp5796040p5796061.html Sent from the freebsd-ports mailing list archive at Nabble.com.