Article 5MX69 how to install an old gcc 3.3 in UBUNTU 20.04

how to install an old gcc 3.3 in UBUNTU 20.04

by
lamincrb
from LinuxQuestions.org on (#5MX69)
Hello Every one.
I want to install an old compiler (gcc 3.0, 3.1, 3.2 or 3.3) in UBUNTU 20.04
I tried with
sudo apt-get install gcc-3
But I get an error "E: Unable to locate package gcc-3"
and sudo apt-get install g++-3 gives me :
"E: Unable to correct problems, you have held broken packages"
I googled it and I add some sources to source.list
but nothing
the whole thing is that I add an old script (created in 2002) to my NS2.35 and when I try to compile it with "make" or "./install" it gives me problems like
(list.h no such file or directory) I searched for this header and I find one in "usr/src/linux-headers-5.4.0-48/scripts/kconfig/list.h" but when I use it it still gives me errors with some variables like "visitlist_' was not declared in this scope" etc..
can anyone help me.latest?d=yIl2AUoC8zA latest?i=FhDFSUd6PTI:tr4TjAtkL2k:F7zBnMy latest?i=FhDFSUd6PTI:tr4TjAtkL2k:V_sGLiP latest?d=qj6IDK7rITs latest?i=FhDFSUd6PTI:tr4TjAtkL2k:gIN9vFwFhDFSUd6PTI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments