LinuxQuestions.org
Help answer threads with 0 replies.
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 04-07-2003, 12:43 AM   #1
Mikeoak83
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
GNU c++


I have mandrake 9.0 installed on my machine and gnu version of c++ by default on the install was 3.2.2 or 3.2 or higher or whatever. Well what hte problem is that if the version is greater than 3.2 then its not compatible with the other versions which i need to have compatibility with. So the question is how do i revert back from g++ 3.2.2 to g++ 3.1.1 or g++ 3.0 or so, because all the resources that i've found thus far have been cryptic and not very useful, i'd appreciate the help, thanks
 
Old 04-07-2003, 01:51 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I believe you can download the source for the older version and compile it in its own directory and make install to a directory with its own version number and use both. I've never done it so couldn't tell you precisely how, but I know that's one way to do it. And maybe a pre-compiled version would just install like that. And there may even be a switch or flag or whatever to run the new compiler to be backwards compatible.

Hopefully somebody else can give better answers but it might help if you hinted what the cryptic suggestions were so people could clear them up or suggest something different rather than being cryptically suggestive in the same way.
 
Old 04-07-2003, 05:45 AM   #3
Mikeoak83
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
the directions for installing the stuff from gnu refer to places like gccsrcdir, libbuilddir, libsrcdir etc. but i'm not sure if these directories are arbitrary and user defined or if they have a specific place. I've also tried running some of the commands given without success.
 
Old 04-09-2003, 03:47 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't *think* the directories especially matter, though you may have to define them for compiling. But I think it's supposed to be a more or less temporary place. The results will go to the respective places. And I don't believe those directories would already exist on your system.

It's not exactly relevant, but might happen to say something that would help - http://www.linuxfromscratch.org/view/4.0/ - that has two sections on compiling and installing GCC and may reference in the first few sections as well. It's about 3.2 but it may apply to getting an older one on as well.

Wish somebody who'd done it would post - I *know* people around here have compiled it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GNU/Linux vs. GNU/OpenSolaris win32sux Linux - Software 5 11-27-2005 10:10 AM
newb question on GNU glibc-2.3.1 upgrade to GNU glibc-2.3.2 clindy528 Slackware 1 11-10-2005 06:49 AM
Debian GNU/kFreeBSD && Debian GNU/NetBSD Arnaud_B Debian 3 06-30-2005 10:39 PM
GNU Pascal calls GNU C chris.hicks Programming 0 11-13-2003 11:18 AM
GNU C calls GNU Pascal? chris.hicks Programming 1 11-13-2003 08:48 AM


All times are GMT -5. The time now is 04:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration