bug-libtool
[Top][All Lists]
Advanced

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

Re: Possible flaw in `libtool's argument shuffle ?? --


From: Ralf Wildenhues
Subject: Re: Possible flaw in `libtool's argument shuffle ?? --
Date: Wed, 2 Mar 2005 13:47:56 +0100
User-agent: Mutt/1.4.1i

[ old thread, sorry for taking a while ]

Hi Paul,

* Paul Townsend wrote on Sat, Feb 05, 2005 at 01:09:20AM CET:
> On Fri, 4 Feb 2005 10:41:38 +0100, Ralf Wildenhues wrote:
> >
> >> FWIW, the "-Bstatic" option doesn't necessarily cause the Solaris link
> >> editor to build a static image.  The "-dn" option should probably be
> >> used instead.
> >
> >Hmm.  Libtool's -all-static is supposed to build a static image, not
> >-static.
> 
> Are we referencing the same thing?

Aah, I misunderstood you.

What, exactly, are the semantic differences between `-dn' and `-Bstatic'?
Do the semantics differ among Solaris/SunOS versions?
Online manuals are not enlightening.

> I'm referencing the "-Bstatic" from the generated `libtool' text as
> 
>   # Compiler flag to prevent dynamic linking.
>   link_static_flag="-Bstatic"
> 
> Is this "libtool" variable used to "prevent dynamic linking" or to
> "cause a static link"?

Prevent dynamic linking, I guess.  What are the exact differences
between your quoted meanings?  (I ask this question to prevent subtle
misunderstandings based on me not being a native speaker, and on English
not being a precise language.)

I think what you mean by "cause a static link" would be using -all-static
in the link line.

> FWIW, I was attempting to statically link the two libraries, "-lssl" and
> "-lcrypto", only.  All other libraries would be dynamically linked
> assuming there was a "....so" library available.

Might (as previously noted) not be possible with libtool (yet) -- I'll
put it in TODO if not there yet.

Regards,
Ralf




reply via email to

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