From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22082 invoked by alias); 20 Jul 2011 17:31:39 -0000 Received: (qmail 22069 invoked by uid 22791); 20 Jul 2011 17:31:38 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BG,TW_PR X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 17:30:58 +0000 From: "ludovic@ludovic-brenta.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/49783] GCC must bring ads and adb files after installation X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ludovic@ludovic-brenta.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 20 Jul 2011 17:31:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01692.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49783 Ludovic Brenta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ludovic@ludovic-brenta.org --- Comment #1 from Ludovic Brenta 2011-07-20 17:30:55 UTC --- I have resolved this problem in Debian by creating two additional libraries from the GCC sources: libgnatvsn (GNAT Version Library under GPL3 with Runtime Library Exception) and libgnatprj (Project File parser under pure GPL). For full details, see: * Debian Ada Policy http://people.debian.org/~lbrenta/debian-ada-policy.html * my presentation at FOSDEM 2011 http://www.youtube.com/watch?v=-3HvUH4fJPM * the stack of Debian patches that implement the idea: ada-link-lib.diff, ada-libgnatvsn.diff, ada-libgnatprj.diff in this order. I am willing to submit these patches upstream to GCC; however they do introduce a potential problem: they make libgnat necessary on the host as well as on the target. Indeed, with these patches, all GNAT tools (gnatmake and friends) are now linked dynamically against libgnat-$V.so and the two new libraries libgnatvsn.so.$V and libgnatprj.so.$V (for V in 4.1 .. 4.6).