From mint-bounce@lists.fishpool.fi Sun Jan 10 14:33:04 2010 Message-ID: <4B4A2AD7.4010408@freesbee.fr> Date: Sun, 10 Jan 2010 20:30:31 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] Multiple GCC versions, autoconf, automake References: <4B4A232E.6010902@atari-source.org> In-Reply-To: <4B4A232E.6010902@atari-source.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 100110-0, 10/01/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o0AJX3Vm023590 Mark Duckworth wrote: > Does anyone have a problem with me modifying our current > gcc build to install binaries like gcc-2.95.3 so they can be selected > later at will? This way gcc 2.95.3 doesn't have to be removed > completely. I totally agree, and that will be easy. It is possible to have several versions of GCC installed, by compiling them with a different suffix. For example, in Cygwin 1.5, the default compiler named "gcc" is the version 3.4.4, but there is an alternative version named "gcc-4" which is the version 4.3.2. One can use the alternative version when building packages simply by using "configure CC=gcc-4". It is possible to see how a specific gcc version has been configured with the following command: $ gcc --verbose On Cygwin, here is what I get: $ gcc-4 --verbose ... --program-suffix=-4 ... So in order to make a GCC 4.x named gcc-4, you just have to configure it with with the additional option --program-suffix=-4 -- Vincent Rivière