libtool
[Top][All Lists]
Advanced

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

[sr #106790] Version 2.2.6 shaded native option -shared of ld


From: Ralf Wildenhues
Subject: [sr #106790] Version 2.2.6 shaded native option -shared of ld
Date: Sat, 06 Jun 2009 07:15:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.9) Gecko/2009050519 Iceweasel/3.0.6 (Debian-3.0.6-1)

Follow-up Comment #2, sr #106790 (project libtool):

Modules are generally built with something like
  pkg_LTLIBRARIES = foo.la
  foo_la_LDFLAGS = -module -avoid-version

Passing -shared has never been the intended use for libtool,
as that flag is GCC-specific and will not work with other
compilers.  Using foo.so is pretty ELF centric (which is better
than no portability at all of course, but not as much as libtool
would allow for).

Other than that, you can bypass compiler driver flags by the
libtool script with either -Wc,FLAG or -Xcompiler FLAG.

Hope that helps.

Cheers,
Ralf

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?106790>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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