From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2225 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [RFC] pcc support for configure Date: Fri, 26 Oct 2012 18:05:22 -0400 Message-ID: <20121026220522.GD254@brightrain.aerifal.cx> 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> <20121026215930.GJ24157@port70.net> 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 1351289132 15970 80.91.229.3 (26 Oct 2012 22:05:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 22:05:32 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2226-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 27 00:05:40 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 1TRs28-0000zt-DX for gllmg-musl@plane.gmane.org; Sat, 27 Oct 2012 00:05:40 +0200 Original-Received: (qmail 17473 invoked by uid 550); 26 Oct 2012 22:05:32 -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 17465 invoked from network); 26 Oct 2012 22:05:32 -0000 Content-Disposition: inline In-Reply-To: <20121026215930.GJ24157@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2225 Archived-At: On Fri, Oct 26, 2012 at 11:59:30PM +0200, Szabolcs Nagy wrote: > * 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) Ah, you're right. Thanks for catching this. Let's see if we can work out a better test, then... Rich