libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making hardcode.test more robust [patch against HEAD]


From: libtool
Subject: Re: Making hardcode.test more robust [patch against HEAD]
Date: Wed, 25 Apr 2001 23:43:15 -0500
User-agent: Mutt/1.1.12i

On Tue, Apr 24, 2001 at 02:47:38AM -0300, Alexandre Oliva wrote:
> On Apr 22, 2001, address@hidden wrote:
> > BTW, another possible solution is to compile with CFLAGS=-s. Compiling
> > without CFLAGS=-g solves the problem on Solaris and with CFLAGS=-s
> > solves the problem on IRIX 6.x.
> 
> I'm not sure how portable -s is.  Hmm...  Any takers?

How about running strip on the binary after creating it?

> > Good point about host != build. How would I even begin to solve that?
> 
> Only do the improved test when host = build.  Which amounts to falling
> back to the original version when cross compiling.  And then, I wonder
> whether we really want potentially different results for the same host
> platform...

I'll see about adding a strip after creating the binary. That might be
more "portable", though I still like the objdump approach. How about a
warning if host != build and the improved test case exists?

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]