Those of you that have installed GCC3 without a problem could you please post what platform you are on and anything other than ./confgure and make that you had to type, the readme for gcc3 isnt very user friendly and so I ask for help.
Those of you that have installed GCC3 without a problem could you please post what platform you are on and anything other than ./confgure and make that you had to type, the readme for gcc3 isnt very user friendly and so I ask for help.
just build it the normal way:
sh configure --prefix=installpath
make
make install
and update the PATH
I use Mandrake 8.1 and used the RedHat rpms as I detailed in http://seq.sourceforge.net/showthrea...s=&threadid=52
I used rpm -i --force for the rpms listed there. I also manually changed the /usr/bin/[gcc|g++] links, as I explained in that thread.
hmm, expect that you will have to reinstall your linux someday when you force rpms such like the standard compiler
Could you please elaborate on the "normal way"Originally posted by Hoihoi
just build it the normal way:
sh configure --prefix=installpath
i just cd dir
./confgure
make
make install
that isnt working cause im having issues anything else i need to do ?
Can you please ellaborate what updating the PATH means?just build it the normal way:
sh configure --prefix=installpath
make
make install
and update the PATH
Thanks
Can you please ellaborate what updating the PATH means?just build it the normal way:
sh configure --prefix=installpath
make
make install
and update the PATH
Thanks
the PATH is a system variable where your system is seeking executable binaries/scriptts etc.
it will start seeking from left to right in this variable. so since you didnt install gcc into /usr/local/bin, it will use this path form gcc.
you can check that with 'type gcc'
so to make it use gcc in your new gcc which is not in /usr/locL/bin, you need to make it seek in the new directory first:
ie. export PATH=/usr/local/gcc3/bin:$PATH
this will put the /usr/local/gcc3/bin on the very left side of the PATH variable and there it will seek first and use gcc.
you can check that again with 'type gcc'
There are currently 1 users browsing this thread. (0 members and 1 guests)