Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Anyone got an idea how to compile a gcc from scratch without having any gcc/other C-Compiler installed? I've heard that I have to use some unoptimized-precompiled binary to compile the real compiler, but I have no idea where to get such a thing.
By your profile you have Debian, so you should be able to do:
apt-get install gcc
I believe you'll also need make to compile a standard source tarball:
apt-get install make
Although it's generally easier to just apt-get install rather than compiling...
Yeah, sure, I would do so if I had Debian installed on the machine I wish to have gcc on. But on that machine is a very plain Linux, since it is only a 386 w/ 4mb of RAM.
Yeah, sure, I would do so if I had Debian installed on the machine I wish to have gcc on. But on that machine is a very plain Linux, since it is only a 386 w/ 4mb of RAM.
very simple, you just use a live CD like Knoppix
But I'm not still try about this so it may be wrong
Also, Knoppix wouldn't run on such an old machine (particularly since it caches a lot in RAM -- I doubt you could even start the kernel with 4 MB).
In fact, I'm not sure if gcc is evcen going to run with anything approaching tolerable speed on a machine that old. But if you want to try there are a number of sites with gcc binaries available. What distro of Linux is on your system (or is it LFS)? If it's from scratch, you will probably just have to find a generic binary (or use a distro's binary), otherwise use the gcc packaged with your distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.