* egcs 1.1 installation
@ 1998-09-21 19:00 Murray Stokely
1998-09-21 19:09 ` Jonathan Vafai
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Murray Stokely @ 1998-09-21 19:00 UTC (permalink / raw)
To: axp-list
I couldn't find any egcs-1.1b RPMs so I attempted to compile and
install it myself on my RH 5.1 system. I didn't touch the source at
all and just did a ./configure && make && make install and that
completed without errors. HOWEVER gcc -v still lists the old version
because it appears that its still using the stuff in /usr/lib/gcc-lib
from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
tried making the former just a symlink to the latter but that didn't
work. What manual steps do I need to take to tell the compiler where
all its new files are now located? RPMs anyone?
- Murray
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egcs 1.1 installation
1998-09-21 19:00 egcs 1.1 installation Murray Stokely
@ 1998-09-21 19:09 ` Jonathan Vafai
1998-09-21 19:58 ` Bibek Sahu
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Jonathan Vafai @ 1998-09-21 19:09 UTC (permalink / raw)
To: axp-list
On %M 0, Murray Stokely <murray@cdrom.com> wrote:
> I couldn't find any egcs-1.1b RPMs so I attempted to compile and
> install it myself on my RH 5.1 system. I didn't touch the source at
> all and just did a ./configure && make && make install and that
> completed without errors. HOWEVER gcc -v still lists the old version
> because it appears that its still using the stuff in /usr/lib/gcc-lib
> from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
> tried making the former just a symlink to the latter but that didn't
> work. What manual steps do I need to take to tell the compiler where
> all its new files are now located? RPMs anyone?
I did an rpm -e egcs (and also removed the other pkgs whose names escape
me) and then it worked ok.
the egcs installs itself into /usr/local so, rpm -e doesn't delete needed
files.
-jon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egcs 1.1 installation
1998-09-21 19:00 egcs 1.1 installation Murray Stokely
1998-09-21 19:09 ` Jonathan Vafai
@ 1998-09-21 19:58 ` Bibek Sahu
1998-09-21 20:17 ` furio ercolessi
1998-09-21 20:52 ` Kurt Garloff
3 siblings, 0 replies; 6+ messages in thread
From: Bibek Sahu @ 1998-09-21 19:58 UTC (permalink / raw)
To: axp-list
Just do an 'rpm -e egcs' (and the same for its necessary
packages), or grab the rpms I made from ftp://rpm@prophet.dodds.net/.
I uploaded these to redhat's contrib area, but they don't seem to have
shown up at the mirrors yet (which implies they probably haven't been
moved around at redhat yet, since most of these mirrors update daily).
- Bob
On Mon, 21 Sep 1998, Murray Stokely wrote:
> I couldn't find any egcs-1.1b RPMs so I attempted to compile and
> install it myself on my RH 5.1 system. I didn't touch the source at
> all and just did a ./configure && make && make install and that
> completed without errors. HOWEVER gcc -v still lists the old version
> because it appears that its still using the stuff in /usr/lib/gcc-lib
> from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
> tried making the former just a symlink to the latter but that didn't
> work. What manual steps do I need to take to tell the compiler where
> all its new files are now located? RPMs anyone?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egcs 1.1 installation
1998-09-21 19:00 egcs 1.1 installation Murray Stokely
1998-09-21 19:09 ` Jonathan Vafai
1998-09-21 19:58 ` Bibek Sahu
@ 1998-09-21 20:17 ` furio ercolessi
1998-09-21 20:52 ` Kurt Garloff
3 siblings, 0 replies; 6+ messages in thread
From: furio ercolessi @ 1998-09-21 20:17 UTC (permalink / raw)
To: axp-list
> I couldn't find any egcs-1.1b RPMs so I attempted to compile and
> install it myself on my RH 5.1 system. I didn't touch the source at
> all and just did a ./configure && make && make install and that
> completed without errors. HOWEVER gcc -v still lists the old version
> because it appears that its still using the stuff in /usr/lib/gcc-lib
> from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
Perhaps
setenv CC /usr/local/bin/gcc
./configure
as you may have /usr/bin/gcc driving the old version, and
/usr/local/bin/gcc driving the new one.
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: egcs 1.1 installation
@ 1998-09-21 20:25 Tibbetts, Richard
0 siblings, 0 replies; 6+ messages in thread
From: Tibbetts, Richard @ 1998-09-21 20:25 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Do it the easy way.
Keep the older one until you prove that the newer one works! To
use the new one, just run:
export PATH=/usr/local/bin:$PATH
To set /usr/local/bin first in the PATH. Then it will pick up
the new version. Once it's stable, then delete the old one, and
re-install the new one in the proper location (optional!). You can
change where it will install to using the --prefix modifier when you
configure it.
> ______________________________
> Ric Tibbetts
> Boeing SSG Distributed CATIA
> Central Administration
> CAS-CADE Central Administration
> Phone: 425/393-4442 Pager: 425/645-2012
> E-Mail: richard.tibbetts@boeing.com
>
> Eagles may soar, but weasels don't get sucked into jet engines.
> _______________________________
>
>
>
> ----------
> From: Jonathan Vafai[SMTP:jjv200@acf2.nyu.edu]
> Reply To: axp-list@redhat.com
> Sent: Monday, September 21, 1998 12:09 PM
> To: axp-list@redhat.com
> Subject: Re: egcs 1.1 installation
>
> On %M 0, Murray Stokely <murray@cdrom.com> wrote:
> > I couldn't find any egcs-1.1b RPMs so I attempted to compile and
> > install it myself on my RH 5.1 system. I didn't touch the source at
> > all and just did a ./configure && make && make install and that
> > completed without errors. HOWEVER gcc -v still lists the old
> version
> > because it appears that its still using the stuff in
> /usr/lib/gcc-lib
> > from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
> > tried making the former just a symlink to the latter but that didn't
> > work. What manual steps do I need to take to tell the compiler where
> > all its new files are now located? RPMs anyone?
>
> I did an rpm -e egcs (and also removed the other pkgs whose names
> escape
> me) and then it worked ok.
>
> the egcs installs itself into /usr/local so, rpm -e doesn't delete
> needed
> files.
>
> -jon
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egcs 1.1 installation
1998-09-21 19:00 egcs 1.1 installation Murray Stokely
` (2 preceding siblings ...)
1998-09-21 20:17 ` furio ercolessi
@ 1998-09-21 20:52 ` Kurt Garloff
3 siblings, 0 replies; 6+ messages in thread
From: Kurt Garloff @ 1998-09-21 20:52 UTC (permalink / raw)
To: axp-list
On Mon, Sep 21, 1998 at 12:00:43PM -0700, Murray Stokely wrote:
> completed without errors. HOWEVER gcc -v still lists the old version
> because it appears that its still using the stuff in /usr/lib/gcc-lib
> from egcs 1.02 instead of the new stuff in /usr/local/lib/gcc-lib. I
> tried making the former just a symlink to the latter but that didn't
> work. What manual steps do I need to take to tell the compiler where
> all its new files are now located? RPMs anyone?
I have my standard compiler (at the moment egcs-1.1b) under
/usr/bin/gcc,g++,f77 and I rename my newly compiled compiler binaries to
/usr/local/bin/egcc,eg++,eg77, so I can select which one I want to use. Note
that you can also achieve this by issueing gcc -V egcs-2.91.57 (or whatever
version you want to pick).
--
Kurt Garloff, Dortmund
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-09-21 21:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-21 19:00 egcs 1.1 installation Murray Stokely
1998-09-21 19:09 ` Jonathan Vafai
1998-09-21 19:58 ` Bibek Sahu
1998-09-21 20:17 ` furio ercolessi
1998-09-21 20:52 ` Kurt Garloff
-- strict thread matches above, loose matches on Subject: below --
1998-09-21 20:25 Tibbetts, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox