LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gcc -v ? (https://www.linuxquestions.org/questions/linux-software-2/gcc-v-99965/)

Joe_Astor 10-03-2003 05:34 PM

Gcc -v ?
 
Hi there

I'm running mdk 9.1 and I want to compile bahamut.
But for some reason, who only knows why, it won't compile with gcc 3 or above.

I had a look at gcc --help and it mentions;
gcc -V <version> Run gcc version number <version>, if installed.

I'd like to try and compile bahamut using version 2.xx

I'm just curious if someone can tell me exactly how it works, heh, I've tried every combination of switches I can think of, and no go.

Help muchly appreciated!

jailbait 10-03-2003 06:34 PM

"gcc -V <version> Run gcc version number <version>, if installed.

I'd like to try and compile bahamut using version 2.xx"

Do you have version 2.xx installed? If so then you can simply use the full path name for the alternate version of gcc, i.e.
/usr/local/oldgcc/gcc

If you want to install an old version of the compiler then you will probably also have to install the corresponding version of glibc.

Also I recommend gcc 2.95 as being an excellent release of gcc.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 06:29 PM.