libtool
[Top][All Lists]
Advanced

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

Re: per-deplib static/dynamic flags


From: Bob Friesenhahn
Subject: Re: per-deplib static/dynamic flags
Date: Thu, 2 Feb 2006 01:26:00 -0600 (CST)

On Thu, 2 Feb 2006, Ralf Wildenhues wrote:
I would love to be able to supply LDFLAGS options to configure and
have them work appropriately within the configure script, and then
work similarly for libtool.

Note that `-Wl,-Bstatic' will *not* be useful in LDFLAGS, but LIBS at
best, because of the ordering issues.

Minor issue.  No complaints here!

If the options do not work in LDFLAGS,
then it will be necessary to pass them explicitly via the Makefile.

In this case

 -Wl,-Bstatic

may work better even though it is more obtuse.

I don't see any reason against supporting both
  -force-static and -Wl,-Bstatic
as two names for the same thing.

I like that. There are likely linkers which will reject -Wl,-Bstatic, but at least it provides an opportunity for success with configure.

In the future, we should discuss some way to support pre-processing of options passed to the configure script so that configure tests work as closely to libtool as possible. I don't know how to address that now.

By the way, I'd like to fix ordering issues for `-Wl,'-given flags that
we don't understand, too; there have been several bug reports about
this.

Order is often quite important.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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