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.
But how is one supposed to compile gcc without a working copy of gcc? To be fair, I have the older version, but I cannot seem to get it working (it has the same problem). Help is greatly appreciated.
Yeah I've always wondered the very same thing...how do you install a compiler without a compiler? I thought (a long time ago, before i started LFS) that by going thru the steps of a LFS system would answer it for me...but i found out you have to use a base distro...bugger, that didn't answer it, heh.
You could use something like knoppix to do that. No it's not compiling a compiler without a compiler, but it would work without having to reveal the mystery of compiling the compiler.
Originally posted by buddy which came first; the chicken or the egg?
make some friends... thats what the community is for - get one off someone as said by schatoor
Cheers
Well I installed the package and it didn't help, I'm pretty sure the problem is not with my compiler, but with my libs. By the way, the rooster came first; the chicken was downright pissed.
Yeah, but isn't that pretty much what he did with installing the Slackware tgz?
Knoppix is one of those CD based distros. It runs without the need of an HD, and this is usually used by me as a rescue CD, or for demoing the power of linux to non-believers
Originally posted by bulliver Hmm, wasn't too clear on whether the tgz was binary or source. Shouldn't we troubleshoot (or at least find out) why binary gcc "didn't help me any"
Am I missing something?
Sorry ... what I meant to say is that I installed a BINARY tgz of gcc (I thought that was clear ... oh well) but I still get :
Code:
/usr/local/lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1'
/usr/local/lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_2.1.1
'
/usr/local/lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_2.2'
# and so forth #
collect2: ld returned 1 exit status
when I try to compile anything with gcc. Thus, I am led to believe the problem is not with gcc (I guessed that, but am scraping the bottom of the barrel here).
_dl_ prefix leads me to believe that /usr/local/lib/ld-linux.so.2 has something to do with it, but what?? Thanks for the replies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.