Re: per-deplib static/dynamic flags

2006-02-02 Thread Bob Friesenhahn
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

Re: per-deplib static/dynamic flags

2006-02-02 Thread Gary V. Vaughan
Hallo Ralf, Ralf Wildenhues wrote: This fixes the failure uncovered by the new tests posted previously. OK to apply? Looks good to me! Please go right ahead :-) * libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for adding run paths to also add paths for installed

Re: per-deplib static/dynamic flags

2006-02-02 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: | | Hmm. If we were to invent new flags, I currently like | -force-static, -prefer-shared | best. | | |Note though that Ralf has -Bstatic defined as: |If @var{output-file} is a program, prefer linking statically |

Re: per-deplib static/dynamic flags

2006-02-02 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: | | Hmm. If we were to invent new flags, I currently like | -force-static, -prefer-shared | best. | | |Note though that Ralf has -Bstatic defined as: |If @var{output-file} is a program, prefer linking statically |

Re: per-deplib static/dynamic flags

2006-02-01 Thread Albert Chin
On Wed, Feb 01, 2006 at 12:47:51AM -0600, Bob Friesenhahn wrote: On Tue, 31 Jan 2006, Albert Chin wrote: On Mon, Jan 30, 2006 at 10:28:52PM +0100, Ralf Wildenhues wrote: - Should the corresponding libtool flags be named `-Bstatic' resp. `-Bdynamic'? Those were the most common names I

Re: per-deplib static/dynamic flags

2006-02-01 Thread Albert Chin
On Wed, Feb 01, 2006 at 05:40:51PM -0600, Bob Friesenhahn wrote: On Wed, 1 Feb 2006, Albert Chin wrote: Fine. -Bstatic on Linux means Do not link against shared libraries. anyway. Good. GCC uses -B to mean something else. So -Bstatic is a linker-only option. It is likely useful to use

Re: per-deplib static/dynamic flags

2006-02-01 Thread Bob Friesenhahn
On Wed, 1 Feb 2006, Albert Chin wrote: Good. GCC uses -B to mean something else. So -Bstatic is a linker-only option. It is likely useful to use something new which won't be confusing due the different meaning between GCC and ld. How about -static-only and -shared-only? Note though that

Re: per-deplib static/dynamic flags

2006-02-01 Thread Ralf Wildenhues
Hi Bob, Albert, * Bob Friesenhahn wrote on Wed, Feb 01, 2006 at 07:47:51AM CET: On Tue, 31 Jan 2006, Albert Chin wrote: On Mon, Jan 30, 2006 at 10:28:52PM +0100, Ralf Wildenhues wrote: - Should the corresponding libtool flags be named `-Bstatic' resp. `-Bdynamic'? Those were the most

Re: per-deplib static/dynamic flags

2006-02-01 Thread Bob Friesenhahn
On Wed, 1 Feb 2006, Albert Chin wrote: Good. GCC uses -B to mean something else. So -Bstatic is a linker-only option. It is likely useful to use something new which won't be confusing due the different meaning between GCC and ld. How about -static-only and -shared-only? Note though that

Re: per-deplib static/dynamic flags

2006-02-01 Thread Ralf Wildenhues
Hi Bob, * Bob Friesenhahn wrote on Thu, Feb 02, 2006 at 05:39:02AM CET: On Wed, 1 Feb 2006, Albert Chin wrote: Good. GCC uses -B to mean something else. So -Bstatic is a linker-only option. It is likely useful to use something new which won't be confusing due the different meaning

Re: per-deplib static/dynamic flags

2006-01-31 Thread Albert Chin
On Mon, Jan 30, 2006 at 10:28:52PM +0100, Ralf Wildenhues wrote: - Should the corresponding libtool flags be named `-Bstatic' resp. `-Bdynamic'? Those were the most common names I could find, but IMHO they are not very self-explanatory for users not used to them. -prefer-static,

Re: per-deplib static/dynamic flags

2006-01-31 Thread Bob Friesenhahn
On Tue, 31 Jan 2006, Albert Chin wrote: On Mon, Jan 30, 2006 at 10:28:52PM +0100, Ralf Wildenhues wrote: - Should the corresponding libtool flags be named `-Bstatic' resp. `-Bdynamic'? Those were the most common names I could find, but IMHO they are not very self-explanatory for users not

Re: per-deplib static/dynamic flags

2006-01-31 Thread Albert Chin
On Mon, Jan 30, 2006 at 10:28:52PM +0100, Ralf Wildenhues wrote: - Should the corresponding libtool flags be named `-Bstatic' resp. `-Bdynamic'? Those were the most common names I could find, but IMHO they are not very self-explanatory for users not used to them. -prefer-static,