From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26541 invoked from network); 26 Feb 1999 16:44:42 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Feb 1999 16:44:42 -0000 Received: from adrian.kazan.com ([216.2.218.137]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA18723 for ; Fri, 26 Feb 1999 11:43:20 -0500 Received: by adrian with Internet Mail Service (5.0.1460.8) id ; Fri, 26 Feb 1999 10:43:07 -0600 Message-ID: <75A9508F64A2D111B89C00609710A6CF1D3A7D@adrian> From: Eric Cifreo To: axp-list@redhat.com Subject: RE: Using egcs ??? Date: Fri, 26 Feb 1999 10:43:03 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain; charset="iso-8859-1" > Greetings, > > After you install the latest and greatest version of egcs... > How do you use > it ??? > > Is it auto magically used when you compile using gcc ??? > > Do you replace the gcc command with something else ??? > > Is there some switch or environment variable that has > to be defined > ??? > > Any pointers greatly appreciated.... > > Bob Segrest Your original compiler is probably /usr/bin/gcc. The new egcs is probably /usr/local/bin/gcc. Type "which gcc" to see the one that is your default gcc. Type "gcc -v" to see your version number. You can change the sequence of your PATH variable, to force the new one to become your default. So in your .profile (.bash_profile, whatever): PATH=/usr/local/bin:$PATH export PATH Hope that's what you need. Eric Cifreo Austin, TX