Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-28-2008, 06:59 AM
|
#1
|
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,333
Rep:
|
Using old gcc. How to do? Is it safe?
Hya,
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.
Question 1.
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.
Question 2.
Does it make my penguin unstable? Is binary stable?
Thank you for replies.
Happy Penguins!
|
|
|
|
12-28-2008, 07:32 AM
|
#2
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
|
|
|
|
12-28-2008, 09:14 AM
|
#3
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
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.
....
Last edited by knudfl; 12-28-2008 at 09:18 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|