SkyNet
03-14-2001, 09:35 PM
Ok I'm doing this from a tar.gz file. I've created the objdir called gcc-build. I then entered that dir and ran /root/egcs-1.1.2/configure next I did make bootstrap. So far so good.
Now I'm in the objdir and a do a make install and that compiles just fine but I'm stuck here. What do I do next? How do I get the PC to use the new version of GCC?
SkyNet
Tyr-7BE
03-14-2001, 09:59 PM
Did you have a previously installed version of GCC? Once you've done make install, assuming that everything has gone to plan, your gcc should be installed. Try going to /usr/bin and take a look whether or not you have "gcc" listed there. If it is, open it with an editor and see if it's a symlink. If it is, re-direct it to the new gcc. If it isn't (and you get a whole lot of garble when you open it up), try renaming the gcc in your /usr/bin directory to gcc.old, and then copying your new gcc executable into the /usr/bin directory. However, if you've finished doing "make install", chances are pretty good that it's already in effect. Type "gcc --version" to see whether or not you're using it.
SkyNet
03-14-2001, 10:13 PM
Thx alot
SkyNet
[ 14 March 2001: Message edited by: SkyNet ]