[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble controlling linking if many library versions are installed
From: |
Rob Browning |
Subject: |
Re: Trouble controlling linking if many library versions are installed |
Date: |
Tue, 19 Mar 2002 10:36:20 -0600 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) |
Bob Friesenhahn <address@hidden> writes:
> The foo-config type scripts are fraught with problems. They attempt
> to be a complete solution rather than expressing only the dependencies
> they directly contribute. Unfortunately, eliminating -L/usr/lib
> -L/lib and -I/usr/include is not an appropriate solution because it
> may be that library dependencies dictate that a library in this
> directory is required prior to another library. The only solution may
> be explicit linkage.
I guess the eventual solution might have to be gcc args like
--push-flags <some-flags> --pop-flags, or perhaps better,
--begin-group <some-flags> --end-group as someone recently mentioned,
but that's not going to help on all architectures...
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD