bug-libtool
[Top][All Lists]
Advanced

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

libtool --mode=execute regressions


From: Ralf Wildenhues
Subject: libtool --mode=execute regressions
Date: Thu, 16 Sep 2004 14:44:25 +0200
User-agent: Mutt/1.4.1i

With CVS HEAD libtool,
$ libtool --mode=execute -dlopen foo.la ./main
does not work:
| libtool: execute: unrecognized option `-dlopen'
| libtool: execute: Try `libtool --help' for more information.

It accepts only --dlopen, contradicting both `libtool --mode=execute --help'
and
$ info '(libtool.info)Execute mode'

Furthermore, with --dlopen it does not work either, because the foo.la item is
not shifted away:

$ ./libtool -n --mode=execute --dlopen foo.la ./main
LD_LIBRARY_PATH=/tmp/build/.libs
export LD_LIBRARY_PATH
foo.la "./main"

For completeness, a testcase tarball is attached.  No patch because I
don't know if the change of published interfaces was intended or not.
If wanted, I might rewrite the test for suitable inclusion into the
testsuite.

Out of curiosity a question: If, in this testcase, I change
  LT_INIT(dlopen)
to plain
  LT_INIT
then libtool generates a wrapper for the program, and then executing
  ./main
obviously works.  By using only the documentation, I could not make
sense of this difference in behaviour (except the latter might just be
disallowed use of libtool, that just happened to work "by chance").

Regards,
Ralf

Attachment: dlopen2.tar.gz
Description: GNU Zip compressed data


reply via email to

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