Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 26 Oct 2012 18:05:22 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [RFC] pcc support for configure

On Fri, Oct 26, 2012 at 11:59:30PM +0200, Szabolcs Nagy wrote:
> * Rich Felker <dalias@...ifal.cx> [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

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.