From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17374 invoked by alias); 23 Nov 2003 18:15:49 -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 17367 invoked from network); 23 Nov 2003 18:15:48 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 23 Nov 2003 18:15:48 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 2D32750D951; Sun, 23 Nov 2003 11:15:48 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id CF05450D94D; Sun, 23 Nov 2003 11:15:46 -0700 (MST) From: Gary Thomas To: Chuck McManis Cc: ECOS Discussion Group In-Reply-To: <6.0.0.22.2.20031123095424.02dedb20@66.125.189.29> References: <6.0.0.22.2.20031123095424.02dedb20@66.125.189.29> Content-Type: text/plain Organization: MLB Associates Message-Id: <1069611346.25885.11.camel@hermes> Mime-Version: 1.0 Date: Sun, 23 Nov 2003 18:15:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] Multiple GCC's, keeping them straight X-SW-Source: 2003-11/txt/msg00317.txt.bz2 On Sun, 2003-11-23 at 10:59, Chuck McManis wrote: > 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? The most common case (and certainly how I manage it) is to use prefixed compilers, e.g. i386-elf-gcc, etc. Trying to differentiate via paths is bound to only cause you grief. -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss