This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/6637] Would be nice to support --enable-shared=gnat
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2004 19:15:42 -0000
- Subject: [Bug ada/6637] Would be nice to support --enable-shared=gnat
- References: <20020511145600.6637.jsm-gccbugs@polyomino.org.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-06-08 19:15 -------
Subject: Re: Would be nice to support --enable-shared=gnat
On Tue, 8 Jun 2004, charlet at gcc dot gnu dot org wrote:
> mainline now supports enable-shared=ada|libada
Thanks - but I don't see the documentation for this in install.texi.
Are the other issues listed in the original PR - that the shared libraries
should go in $(libdir) not $(libsubdir), and that any installed Ada
programs using the libraries should be linked against the shared libraries
rather than the static versions - now fixed, or would you like separate
PRs opened for each of those issues? I think everything else listed is
definitely working fine (or was before the tree-ssa merge).
(Linking installed programs against the shared libraries is on the general
principle that all programs should be linked against shared rather than
static libraries except in a few cases where something needs to work when
the system shared libraries may be broken, e.g. ldconfig. But given that
testing programs linked against new shared libraries, and handling
multi-stage bootstrap in such a configuration, is harder than with static
linking, I realise doing so may be lower priority.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6637