gcc versions 3.2 and 2.95
Hello all, I'm running suse 8.1, and have finally got fed up with all those older applications that don't compile with gcc version 3. So, I'd like to install the older gcc 2.95, while keeping my current gcc 3.2. I've naively downloaded an old tarball, and tried to build it. Trouble is, version 3.2 won't build 2.95 (yes, that's exactly the problem I'm trying to fix!). I tried to build using: ./configure --program-suffix=-2.95 (that went okay) make install (that broke) I also tried: make bootstrap but that broke too. I won't include the errors - there were lots of them! The usual sort of thing, about deprecated syntax, etc. There must be lots of you out there who've managed to do this build? How did you do it? Any ideas would be much appreciated. Thanks in advance, Arthur
Arthur Magill
./configure --program-suffix=-2.95 (that went okay)
Don't do that. Install to another prefix, preferably *not* /usr/local. Steps to take: - Unpack tarball - Create a build directory - Change to the build-directory and call configure from the source directory, passing it something like --prefix=/opt/gcc295. - make bootstrap (this *has* to be called) - make install Note that even if you succeed in compiling gcc 2.95.3, you won't be able to compile C++ programs and libraries that need more then libstdc++, i.e. mostly KDE programs. I'd really advise you to not take that step but either wait until the authors fix their code or fix the code yourself. Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de
Thanks Philipp, I'll have a go at that. And for the warning about KDE. Maybe it's time I had a go at fixing some code ;-) Arthur On Wednesday 28 May 2003 19:26, Philipp Thomas wrote:
Arthur Magill
[28 May 2003 19:29:56]: ./configure --program-suffix=-2.95 (that went okay)
Don't do that. Install to another prefix, preferably *not* /usr/local.
Steps to take:
- Unpack tarball - Create a build directory - Change to the build-directory and call configure from the source directory, passing it something like --prefix=/opt/gcc295. - make bootstrap (this *has* to be called) - make install
Note that even if you succeed in compiling gcc 2.95.3, you won't be able to compile C++ programs and libraries that need more then libstdc++, i.e. mostly KDE programs.
I'd really advise you to not take that step but either wait until the authors fix their code or fix the code yourself.
Philipp
[Commenting *after* the quote would have been the better style]
Arthur Magill
And for the warning about KDE. Maybe it's time I had a go at fixing some code ;-)
If you've got the C++ knowledge it takes to fix the problems, good luck. Philipp
participants (3)
-
Arthur Magill
-
Carlos E. R.
-
Philipp Thomas