OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Multiple Versions Of Gcc
Greg2
post Dec 6 2004, 11:17 AM
Post #1





Group: Members
Posts: 790
Joined: 28-October 03
From: USA
Member No.: 792



From the Zug How-to's
QUOTE
Note that many of the newer distributions now use GCC3.2 or later as their default compiler. This means that when compiling for the desktop it will not be able to link to the sdk files as they were created using GCC 2.95. To fix this problem you need to install 2.95 for your distribution.


Does anyone have, or know of a simple how-to for installing and using multiple versions of gcc on a linux box? I was looking at graft... but there must be an easier way?

I have a little extra time during the Holidays and would like to try some things without damaging my current setup.

Greg
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Greg2
post Dec 7 2004, 05:15 PM
Post #2





Group: Members
Posts: 790
Joined: 28-October 03
From: USA
Member No.: 792



QUOTE(lardman @ Dec 7 2004, 12:16 PM)
They should install in seperate locations, then you'll just have to alter your $PATH to use one or the other.

I must be simple minded because I can't make the rpms install in different locations and coexist on my system. Not with the package manager or any rpm command that I know of would make this work properly. If anyone reads this and knows of a way... please let me know.

Anyway, I have d/led the gcc2.9.5 tarball and will compile and install tomorrow. That is the only way I know of to rename and install where I want it.

Thanks lardman

Greg
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th November 2014 - 01:49 PM