libtool
[Top][All Lists]
Advanced

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

(no subject)


From: Christoph Egger
Subject: (no subject)
Date: Tue, 8 Oct 2002 00:25:29 +0200 (MEST)

Hi!

I am running Darwin 6.1. libtool 1.4.2, autoconf 2.52 and automake 1.6.1 are
shipped with it.

The application I write loads dynamic libs at runtime or at least it should.
But Darwin says, the dynamic lib are not of the right type of object file.

Having a closer look how these libs are build, I noticed that gcc _always_
uses the -dynamiclib option. Though libtool should use the -bundle option,
when the -module option is passed to libtool.

Having a look into the libtool.m4 file, I found this line:

archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib
 $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'

As gcc _always_ uses the -dynamiclib option, the $module variable is not set
to "yes", when it should. It might also be, that $module is uninitialized,
because I can't find a line, which sets $module to any value _before_ the
above mentioned line...
IMO, this is a bug. Can someone help me fixing it, please?


-- 
CU,

Christoph Egger
E-Mail: address@hidden

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!





reply via email to

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