libtool-patches
[Top][All Lists]
Advanced

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

Re: [RFT PATCH v4 0/8] Sysroot series


From: Ralf Wildenhues
Subject: Re: [RFT PATCH v4 0/8] Sysroot series
Date: Tue, 3 Aug 2010 07:38:01 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Charles Wilson wrote on Tue, Aug 03, 2010 at 07:30:28AM CEST:
> On 8/2/2010 4:51 PM, Paolo Bonzini wrote:
> > On Mon, Aug 2, 2010 at 22:13, Ralf Wildenhues wrote:
> >> - is it intended that the = remain in the .la files after these are
> >> moved to their final location on the host system?  Or should
> >> --mode=finish remove them?
> > 
> > I thought so, but --mode=finish takes a directory. :/
> > 
> > Should I do that on all .la files?
> 
> Wait, I thought you NEEDED the '=' marker in there, or the .la files
> wouldn't give correct behavior when they were used from within a sysroot.

Yes, but isn't --finish supposed to be run only once these files are not
within a sysroot any more?

> Sure, you might want to strip out the '=' flags if you copied/installed
> the built package over onto $host and wanted to do "native" development
> over there, but...

Exactly.  For some use cases it is "normal" to have this native
development later.  (Example: most distribution packagers.)

> it seemed cleaner to me to simply require an updated
> libtool for clients that want to link against libs built, from a cross
> $build, using the new libtool.  And if you want to "clean up" the "="
> flags when you deploy on $host -- it seems to me that that is a
> packaging/integration task (e.g. not libtool's problem).

That's exactly what I'm trying to find out.  If it's a packager task, it
needs to be documented as such, and if --finish is not the right place
to do it, then we should invent another tool to easily to it, because we
can't expect people to get those sed scripts right themselves.

> BTW, does libltdl need to know about these '=' markers, when it tries to
> load a module?

Good point, yes.

Thanks,
Ralf



reply via email to

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