From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6587 invoked by alias); 11 May 2002 21:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6566 invoked by uid 71); 11 May 2002 21:56:00 -0000 Resent-Date: 11 May 2002 21:56:00 -0000 Resent-Message-ID: <20020511215600.6565.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Joseph Myers Received:(qmail 3266 invoked from network); 11 May 2002 21:53:04 -0000 Received: from unknown (HELO plum.csi.cam.ac.uk) (131.111.8.3) by sources.redhat.com with SMTP; 11 May 2002 21:53:04 -0000 Received: from jsm28.trin.cam.ac.uk ([131.111.231.99] ident=[3YEPQ7uQn/+NeekbhPRVRWT2SQ0m/5hw]) by plum.csi.cam.ac.uk with esmtp (Exim 4.04) id 176enX-0007XK-00; Sat, 11 May 2002 22:53:03 +0100 Received: from jsm28 by jsm28.trin.cam.ac.uk with local (Exim 3.35 #1) id 176enX-0005JT-00; Sat, 11 May 2002 21:53:03 +0000 Message-Id: Date: Sat, 11 May 2002 14:56:00 -0000 From: Joseph Myers To: gcc-gnats@gcc.gnu.org Cc: jsm28@cam.ac.uk X-Send-Pr-Version:3.113 Subject: ada/6637: Ada libraries should honour --enable-shared X-SW-Source: 2002-05/txt/msg00326.txt.bz2 List-Id: >Number: 6637 >Category: ada >Synopsis: Ada libraries should honour --enable-shared >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat May 11 14:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Joseph S. Myers >Release: 3.2 20020510 (experimental) >Organization: none >Environment: System: Linux digraph 2.2.20 #2 Sat Nov 10 16:44:22 UTC 2001 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-cvs/configure --prefix=/opt/gcc/mainline --disable-shared --enable-threads=posix --with-system-zlib >Description: As recently discussed on the gcc list, the Ada libraries do not honour --enable-shared, instead using another (undocumented) mechanism to build shared libraries. They should honour --enable-shared, as other libraries do. They should also honour --enable-shared=package, with an appropriate package name (which should be listed in the --enable-shared documentation), so that, as with other libraries, the use of shared libraries for them can be controlled independently from that for other libraries. The default for them should be documented there, and should probably default to shared libraries being enabled, as with most other language libraries. Shared libraries should be installed in $(libdir). Any of the Ada programs that link against the libraries should (in the installed versions) be linked against the shared libraries. When shared libraries are disabled, dead symlinks libgnarl.so and libgnat.so should not be installed, although they are at present. This is related to Zack's PR ada/5910 (that no separate "make gnatlib_and_tools" should be needed); in both cases the normal "configure" and "make bootstrap" interface to the build should be followed, and additional user-visible complexity for Ada should be avoided. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: