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! Thanks, Adam R.J. |
Quote:
|
Install gcc using install manager and then use installed to compile new one.
|
Thanks for the replies, however I can not install yum and have no package manager, I can not install yum without a c compiler already installed.
|
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. |
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. Thanks, Adam |
Quote:
You can try the command up2date it might work. I am not for sure though. |
Thanks for the reply again. No go on the up2date, this is my bin dir:
addgroup chmod echo install-shOLD mkdir pidof sh umount adduser chown egrep ipcalc mknod ping sleep uname ash cp false kill mktemp ping6 stat usleep bash date fgrep ln more ps stty uuidgen bashbug dd getopt login mount pwd su vi busybox delgroup grep ls mt rm sync watch cat deluser gunzip lsattr mv rmdir tar zcat chattr df gzip lsmod netstat run-parts touch chgrp dmesg hostname mail nice sed true |
the install-shOLD is a script i put there....
|
What is in your sbin directory?
|
IF the binary is on the LiveCD then just copy it to your system.
|
I can imagine your confused. This is a chicken and egg problem. I found AstLinux Development and AstLinux Development - Getting started which is the starting point to roll your own AstLinux image that (I guess) can include gcc.
|
...
|
@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 |
chuckycharms try mail to authors of AstLinux and ask them about gcc compiler.
Regards |
All times are GMT -5. The time now is 06:33 AM. |