Using old gcc. How to do? Is it safe?
I have lenny Penguin, with gcc-4.3.
I need to use older gcc's (4.2 or 4.1) to compile. Makefile is complicated (many children, grandchildren) so that I am reluctant to modify them. I know how to switch under MacOSX, but not debian.
How to do?
I installed older versions using aptitude, then made links (gcc and g++).
Web search says that "ccontrol" takes care, but I could not figure out how it works.
Does it make my penguin unstable? Is binary stable?
Thank you for replies.
This link may be of use:
No problem using them all ( except for kernel compilation )
They are all very stable, but with some differences.
gcc-2.95.3 gcc-3.3.6 gcc-3.4 gcc-4.1.2 gcc-4.2 gcc-4.3.2
And can be used by starting a command with e.g. for gcc :
CC=gcc4.2 ./configure or CC=gcc4.2 make
g++ : CXX=g++4.2 ... or whatever you have in /usr/bin
so in fact changing the link is not necessary.
|All times are GMT -5. The time now is 12:37 PM.|