LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2003, 05:34 PM   #1
Joe_Astor
LQ Newbie
 
Registered: Aug 2003
Location: Christchurch, New Zealand
Distribution: Mandrake 9.1
Posts: 11

Rep: Reputation: 0
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!
 
Old 10-03-2003, 06:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration