On Sun, 27 Jun 2010, Ralf Wildenhues wrote:
* Charles Wilson wrote on Sun, Jun 27, 2010 at 02:51:21PM CEST:
In that case, Ralf's suggested libfile_$(transliterated implib name)
is used, because we have the .la file available which allows that
shortcut. The only time we need `dlltool --identify' is when
dlpreopening a non-libtool implib, where we have no .la file.
And the sed-fu is a fallback to THAT fallback.
So...can I get a verdict? Is -dlpreopen not-an-la-file supposed to work?
I think Pierre's report was about using -dlpreopen file.la at link time,
but then not wanting to need the .la file at run time. I think that is
desirable. At link edit time, having a .la file is a reasonable thing I
think.
Probably I have not been paying enough attention to this topic stream
and I might be misinterpreting the above. While it is nice to dream
about not having the .la files, the module loading can not work
completely reliably without it. A program may depend on preopened
modules, dynamically loaded modules, and dynamically loaded DLLs which
are loaded as dependencies. The .la files contain the dependency
chain information. Using them allows a dependency library to be
changed without breaking things.
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/