From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27848 invoked by alias); 9 Jun 2009 06:20:54 -0000 Received: (qmail 27838 invoked by uid 22791); 9 Jun 2009 06:20:53 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_40 X-Spam-Check-By: sourceware.org Received: from smtp-115-monday.nerim.net (HELO maiev.nerim.net) (62.4.16.115) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Jun 2009 06:20:47 +0000 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by maiev.nerim.net (Postfix) with ESMTP id 42376B8151 for ; Tue, 9 Jun 2009 08:20:44 +0200 (CEST) Received: from glinka.lesours ([192.168.0.1]) by hector.lesours with esmtp (Exim 4.69) (envelope-from ) id 1MDuhT-0005tb-6x for gcc@gcc.gnu.org; Tue, 09 Jun 2009 08:20:47 +0200 Message-ID: <4A2DFF40.1050004@starynkevitch.net> Date: Tue, 09 Jun 2009 06:20:00 -0000 From: Basile STARYNKEVITCH User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: GCC Mailing List Subject: several installed gcc, or libdir should depend upon -program-suffix... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00171.txt.bz2 Hello All, I want to install several variants of gcc, to be specific: the trunk, the lto branch, the MELT branch (all in the same prefix ie /usr/local) I thought that just configuring each variant with its own program suffix would be enough, so I configured the trunk with --program-suffix=-trunk, the LTO branch with --program-suffix=-lto, the MELT branch with --program-suffix=-melt However, this does not work, since all three installations have the same libexecsubdir that is /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0 Is there a configure option I missed? I definitely want all three to be in the same prefix, and the user programs all be under /usr/local/bin ie /usr/local/bin/gcc-{trunk,lto,melt} Or should we patch the gcc/Makefile.in and probably the gcc/configure.ac so that libsubdir and libexecsubdir depends upon the program-suffix at configure time? How do you folks have several GCC installed at the same prefix? Regards. PS: I hope all gcc summit attendees have a nice summit. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***