From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9479 invoked by alias); 23 Nov 2003 17:59:19 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 9472 invoked from network); 23 Nov 2003 17:59:18 -0000 Received: from unknown (HELO home.mcmanis.com) (66.125.189.30) by sources.redhat.com with SMTP; 23 Nov 2003 17:59:18 -0000 Received: (qmail+freegate 16448 invoked by alias); 23 Nov 2003 17:59:16 -0000 Received: from manowar.hq.home.mcmanis.com (HELO manowar.mcmanis.com) (192.168.110.32) by hq.home.mcmanis.com with SMTP; 23 Nov 2003 17:59:16 -0000 Message-Id: <6.0.0.22.2.20031123095424.02dedb20@66.125.189.29> X-Sender: Date: Sun, 23 Nov 2003 17:59:00 -0000 To: ECOS Discussion Group From: Chuck McManis Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [ECOS] Multiple GCC's, keeping them straight X-SW-Source: 2003-11/txt/msg00316.txt.bz2 I'm being challenged by having multiple GCC tool chains around. It occurred to me that some readers might do this because they have multiple architectures to support and could thus offer some advice. What I'm trying to do is to have gcc 3.3.2 both 'native' and 'target' mode in my path. The goal is actually to have gcj (both 'native' and 'target') in my path so that I can compile Java code into my ECOS application. It hasn't been working particularly well, and I seem to get hung up in the binutils (either ld or perhaps gas) picking up the native one when I want the target one. Do folks run multiple chains in the same directory (differentiated by "gcc" vs "i386-elf-gcc" for example) or do they run with multiple paths and set those paths in Makefiles or something? --Chuck -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss