From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2224 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [RFC] pcc support for configure Date: Fri, 26 Oct 2012 23:59:30 +0200 Message-ID: <20121026215930.GJ24157@port70.net> References: <20121015211231.08cbd071.idunham@lavabit.com> <20121016101743.GM24157@port70.net> <20121016132120.GR254@brightrain.aerifal.cx> <11994.132.241.155.248.1350413736.squirrel@lavabit.com> <20121026203523.GA254@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1351288782 13157 80.91.229.3 (26 Oct 2012 21:59:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 21:59:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2225-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 26 23:59:51 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TRrwU-0005Cp-IF for gllmg-musl@plane.gmane.org; Fri, 26 Oct 2012 23:59:50 +0200 Original-Received: (qmail 13787 invoked by uid 550); 26 Oct 2012 21:59:42 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 13779 invoked from network); 26 Oct 2012 21:59:42 -0000 Content-Disposition: inline In-Reply-To: <20121026203523.GA254@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2224 Archived-At: * Rich Felker [2012-10-26 16:35:23 -0400]: > > +test -z "$LIBCC" && tryldflag LIBCC `$CC -print-file-name=libpcc.a || true` > > This was replaced with a simple test for -lpcc, which works with my > version of pcc. See the comments in the commit and let me know if it > doesn't work for you. > even with -nostdlib ? here pcc -nostdlib -lpcc main.o fails but pcc -lpcc main.o works (-nostdlib removes all -L search path even those where -lpcc can be found and the configure script uses -nostdlib for testing ldflags)