Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've seen a similar thread recently, and the gist of it in the end was:
it is not an easy thing to do, because of the central role a compiler plays in a linux system.
you should think about other ways of solving your problem.
1) why do you need that specific version?
2) if you really really need it, maybe a virtual machine just for compiling is abetter way?
3) maybe current compilers have some sort of "backwards compatibility" mode?
etc.
these are just uninformed ideas.
I saw some Ubuntu .deb packages for gcc-4.4.2 here, however, dependency issues may make installing these an impossibility, including breaking other software.
It might be easier (if feasible) to use a separate system that can run an older version of Ubuntu that uses this version of gcc natively. Just make sure not to connect this system to any network.
I saw some Ubuntu .deb packages for gcc-4.4.2 here, however, dependency issues may make installing these an impossibility, including breaking other software.
It might be easier (if feasible) to use a separate system that can run an older version of Ubuntu that uses this version of gcc natively. Just make sure not to connect this system to any network.
Regards...
do you mean compile gcc-4.4.2 in a older version of ubuntut ?
Unfortunately this answer provides zero technical information required to solve the issue.
As another poster pointed out, installing an older version of gcc on your Ubuntu 16.04 systems is very liable to create problems, even if using update-alternatives. Creating a VM with an older version of Ubuntu that supports the particular gcc version might work but then would probably result in an insecure unsupported version of Ubuntu (therefore unable to be network-faced).
You should therefore examine, on a technical level, exactly why you think you need that version of gcc, with the aim of finding a solution which means that you do not in fact need that version of gcc.
do you mean compile gcc-4.4.2 in a older version of ubuntut ?
Hi...
Ubuntu 10.04 or an older version might have these packages installed already, I'm not sure. However, I would have to repeat my previous warning, as well as to direct you to hydrurga's advice. The more information we have the better we can help you possibly find an alternative.
Ubuntu 10.04 or an older version might have these packages installed already, I'm not sure. However, I would have to repeat my previous warning, as well as to direct you to hydrurga's advice. The more information we have the better we can help you possibly find an alternative.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.