Click to See Complete Forum and Search --> : compiling software
montag
11-21-2002, 11:00 AM
I'm running Mandrake 9.0 on a PIII 866. I want to compile and run a piece of software that has the following note for Linux:
"This software package will not compile using egcs or a version
of gcc later than 2.7.2.3. It will also not link against the
libstdc++.2.8 library. You must use the libstc++ from the libg++-2.7.2 package."
These appear to be very old libraries. Is there anyway to add them to my current system and compile/link this program?
:confused:
JockVSJock
11-21-2002, 11:47 AM
What is the software?
Are u trying to install from source or rpm?
-Chris
Penrich
11-21-2002, 12:00 PM
gcc-2.7.2.3 was released August 1997. After that, it looks like there was a switch from gcc to egcs, then back to gcc. Unfortunately, the GCC Page (http://gcc.gnu.org/releases.html) only has downloads as far back as gcc-2.95, plus the egcs'. Maybe find a Linux distro from 1997?
montag
11-21-2002, 12:38 PM
To JockVSJock
The software is custom for a science application and is source - no rpm.
To Penrich
Does this mean I need to install a pre-97 version of Linux? Or is there someway to work around using my modern version?
JockVSJock
11-21-2002, 12:47 PM
To JockVSJock
The software is custom for a science application and is source - no rpm.
If from source, check out the README and/or INSTALL and see what info, if any, it may have about installing.
-Chris
Penrich
11-21-2002, 01:05 PM
Originally posted by montag
Does this mean I need to install a pre-97 version of Linux? Or is there someway to work around using my modern version?
If you can't find the earlier gcc on the web, on possible way to go might be to find an older distro with the source code, and just copy that over. Note: I've never tried this...
Alternatively... do you know for sure that it doesn't work with a new gcc-3.2?
Alternatively... G4L turned up this... http://www.kernel.org/pub/linux/devel/gcc/gcc-2.7.2.3/ :D
And if you need libraries as well, try here: http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=libg%2B%2B-2.7.2&btnG=Google+Search
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.