installing GCC
HI
i have compliled and maked the GCC files i am installing Version 3.3.1 here downlaoded form ftp://sources.redhat.com/pub/gcc/rel...-3.3.1.tar.bz2 i ran ./configure make bootstrap make install i got no erros nor did it stop on any of the config or makes... i have found its install folder in /usr/local/lib/gcc-lib/i686-pc-linux-gnu/ when i run gcc -v i get Reading specs from /usr/lib/gcc-lib/i586-pc-linux/2.95.2.1/specs gcc version 2.95.2.1 19991024 (release) how do i correct it to run on new version? many thanks kudos |
Remove or rename the version that is in your path. To find out where it is:
whereis gcc Then create a link eg: ln -s /path/to/new/gcc /usr/bin/gcc |
Your old gcc is before the new one in PATH. For short time, something like
export PATH=/usr/local/bin:$PATH should work. Better idea is to modify the symlinks there are for older gcc (and point them to the new one) or uninstall older gcc (new one should work then). |
Many thanks
did as david_ross said, and its picked it up fine :) many thanks kudos |
All times are GMT -5. The time now is 03:07 AM. |