[ bug-gnulib elided ]

* Bruno Haible wrote on Thu, Jan 12, 2006 at 09:35:37PM CET:
> Ralf Wildenhues wrote:
> 
> > > The fact that a libtool created "program" is not actually a program but a
> > > script, is a problem of libtool. Fix that, then we can also use
> > > "gdb program" instead of the surprising syntax "libtool gdb program".
> >
> > Two comments: I have yet to see a proposal how uninstalled programs may
> > load uninstalled libraries on all systems, without using a wrapper of
> > some sort.
> 
> Here is a proposal that works on glibc systems and possibly other systems:
> Create the uninstalled program in the current directory, with -rpath
> linker options that refer to directories containing uninstalled libraries.
> 
> During installation "libtool --mode=install" will have to create a
> different executable, with different -rpath options.

This is how `--no-fast-install' *should* work, and does in fact work on
systems with hardcode_action != relink. 

I need to dig the archive to recap why the logic is different, and then
see what we can do about it (I do remember there was a reason for this).

Until then, you can use the `-no-install' libtool --mode=link flag as a
workaround for development -- but remember not to install the generated
binaries then.

Cheers,
Ralf


_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to