How to compile gcc when there is no c compiler installed!? So confused...
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
How to compile gcc when there is no c compiler installed!? So confused...
Hey all!
I'm pretty fresh with linux, especially when it comes to installing stuff without rpm or yum. So i have a AstLinux distro, which is very slimmed down, on a alix3d2 board and does not come with a c complier installed. Sooo, I try to install gcc, and when running the ./configure script simply results in an error of no c compiler installed!
SO, I need some detailed help in how to get this thing installed.
This is my biggest downfall with being proficient with linux, I always seem to get stumped with installing the many pre-requisites for the one program i need. ANY help would be awesome!
I'm pretty fresh with linux, especially when it comes to installing stuff without rpm or yum. So i have a AstLinux distro, which is very slimmed down, on a alix3d2 board and does not come with a c complier installed. Sooo, I try to install gcc, and when running the ./configure script simply results in an error of no c compiler installed!
SO, I need some detailed help in how to get this thing installed.
This is my biggest downfall with being proficient with linux, I always seem to get stumped with installing the many pre-requisites for the one program i need. ANY help would be awesome!
Thanks,
Adam R.J.
I am not too familiar with this linux distro but here is my two cents. Go download yum and install it. Get the rpm and use that. That way you can use yum to install the rest of the files you need including the c compiler stuff.
Ok, so Astlinux does not have a binary version of gcc available that I can find. However, they do have a liveCD of astlinux available. I could use this to gain the enviroment needed to compile gcc IF gcc is already installed on this liveCD??
I am a little confused. Sorry, I dont normally need my hand held, but this time i do.
Also, I do have a debian install on a vmworkstation available also, could i cross-compile? Not sure how this works.
You will either need to get a precompiled binary from AstLinux or compile (statically) one on another machine(that does have gcc).
You might be better off just compiling the packages that you need for the machine on the other box.
That I do not think will work as AST is a custom linux distro tailored to commercial settings on rom chips. I do not think this distro will work on a regular box as they do not include enough programs to start.
You can try the command up2date it might work. I am not for sure though.
@Smartpatrol
Did you figure out what kind of HW chuckycharms is using? And maybe AstLinux is exactly what chuckycharms needs for his purpose; so why would he bother with something else.
What I'm trying to say is:
don't judge somebodies decisions without having background info; thank you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.