Dear Dan Thanks for your help, the name is exactly what you mentioned, libc-dev. I could install it and I'm feeling much better now! I have one more question, even though it's not about installing anything, it's about the whole concept of LFS: I'm an ordinary linux user, I can install files and work with the OS, but I never cared what the installation process does behind the scenes, I know what configure, make and make install do, but now that I'm reading the book and it asks me for example to run the following after running "make install", I just don't understand why!
#################################### make -C ld clean make -C ld LIB_PATH=/tools/lib cp -v ld/ld-new /tools/bin #################################### Isn't it better I become a programmer or something (like writing C programs and stuff, I worked with PHP already) to get the meaning of writing installation files first? Isn't it dumb just to read a book and run all the commands one by one and then if you really do well, you get a system running? Something else, for running "make install" I didn't become root, and it just worked, is it because it wasn't writing anything in main directories like /usr and such? If it wanted to write, user lfs didn't have enough permission. I also don't understand this "ld" directory! What's it for? cheers, bijan On 11/2/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Send lfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://linuxfromscratch.org/mailman/listinfo/lfs-support > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lfs-support digest..." > > Today's Topics: > > 1. Re: "C compiler cannot create executables" a repeated > question! (Dan Nicholson) > 2. Re: gcc:unrecognized option '-mutune=pentiumpro' ( ?? ) > > > ---------- Forwarded message ---------- > From: "Dan Nicholson" <[EMAIL PROTECTED]> > To: "LFS Support List" <[email protected]> > Date: Thu, 1 Nov 2007 19:13:04 -0700 > Subject: Re: "C compiler cannot create executables" a repeated question! > On 11/1/07, Bijan Hoomand <[EMAIL PROTECTED]> wrote: > > > > [EMAIL PROTECTED]> cat config.log > > This file contains any messages produced by compilers while > > running configure, to aid debugging if configure makes a mistake. > > > > configure:611: checking host system type > > configure:632: checking target system type > > configure:650: checking build system type > > configure:705: checking for a BSD compatible install > > configure:758: checking whether ln works > > configure:782: checking whether ln -s works > > configure:1867: checking for gcc > > configure:1980: checking whether the C compiler (gcc -B/usr/bin/ ) > works > > configure:1996: gcc -B/usr/bin/ -o conftest conftest.c 1>&5 > > /usr/bin/ld: crt1.o: No such file: No such file or directory > > collect2: ld returned 1 exit status > > configure: failed program was: > > > > #line 1991 "configure" > > #include "confdefs.h" > > > > main(){return(0);} > > ############################################# > > > > As you can see with the highlighted text, it say there's no /usr/bin/ld > > directory, what's that directory and should I just create it?! I > > What it's saying is that ld can't find crt1.o, which is part of glibc. > I think on Debian/Ubuntu, that's the libc-dev package, or something. > > -- > Dan > > > > ---------- Forwarded message ---------- > From: "吴愚" <[EMAIL PROTECTED]> > To: "LFS Support List" <[email protected]> > Date: Fri, 2 Nov 2007 12:54:00 +0800 > Subject: Re: gcc:unrecognized option '-mutune=pentiumpro' > > > it told me that > > > gcc:unrecognized option '-mutune=pentiumpro' > > ^ > > I think you are looking for -mtune. > > > > ĸen > > So should I recompile gcc and add the option '-mutune=pentiumpro' ? > > Wu Yu > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
