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 |
|
|
|
![]() |
Jul 21 2006, 12:45 AM
Post
#2
|
|
|
Group: Members Posts: 1 Joined: 21-July 06 Member No.: 10,476 |
The listed below are the basic steps and you would be done.. to read the complete article you can visit http://www.tarunworld.com/index.php?option...id=26&Itemid=36
1. Copy the bz2 file to a director say /usr/src. 2. Make a dir say named gcc 3.5 in /usr/src. 3. Untar the contents of the zip file in this directory. 4. go to the directory gcc 3.5 as cd gcc3.5 5. on shell give the command as /usr/src/gcc3.5/configure --prefix=/opt/gcc 6. on shell run make bootstrap. 7. on shell run make install(do it as root). 8. The gcc would be compiled 3 times and you might have to wait a while. 9. After the process is completed on shell run export PATH=/opt/gcc/bin:$PATH. 10. This command appends the gcc path to the environment path variable. 11. Now check gcc --v and you would get version as 3.5. Regards |
|
|
|
Greg2 Multiple Versions Of Gcc Dec 6 2004, 11:17 AM
lardman Talking about cross-compilers? They should end up ... Dec 7 2004, 04:30 AM
Greg2 QUOTE(lardman @ Dec 7 2004, 07:30 AM)Talking ... Dec 7 2004, 07:19 AM
lardman They should install in seperate locations, then yo... Dec 7 2004, 09:16 AM
Greg2 QUOTE(lardman @ Dec 7 2004, 12:16 PM)They sho... Dec 7 2004, 05:15 PM
Ashitaka You can download on http://www.nautilus6.org/opera... Dec 8 2004, 02:02 AM
lardman The OZ 2.95 toolchain is a tarball which you extra... Dec 8 2004, 06:02 AM
Greg2 I can't find that oz 2.95 toolchain anywhere..... Dec 8 2004, 07:20 AM
Ashitaka My package is based on the OZ 2.95 toolchain (iirc... Dec 8 2004, 11:19 PM
Greg2 Ashitaka,
Thanks for making this available, but I ... Dec 9 2004, 11:34 AM
Ashitaka Hum strange I have this line in my script :
cp ... Dec 10 2004, 12:30 AM
Greg2 QUOTE(Ashitaka @ Dec 10 2004, 03:30 AM)Can yo... Dec 10 2004, 06:41 AM
Ashitaka Just start it from the beginning (it will be a lit... Dec 10 2004, 09:22 PM
Greg2 Ashitaka,
I ran your script again, now I have the ... Dec 12 2004, 07:52 AM
Ashitaka Sorry I did not answer earlier. I realized where t... Dec 12 2004, 06:06 PM
Greg2 QUOTE(Ashitaka @ Dec 12 2004, 09:06 PM)The pr... Dec 13 2004, 11:20 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 10:49 PM |