nearly crying :-((

James Klein klein_james1968 at yahoo.com
Tue Jul 24 08:14:07 PDT 2001


I had the same problem with optimizing gcc in chapter
five. Simply said gcc was broken until I went back and
rebuilt the static version of gcc. (AMD K6 266mhz 96
meg ram compaq laptop.)

Jim
--- Neil.Smith at greenflag.com wrote:
> >checking whether we are using GNU C... no
> >configure: error: GNU libc must be compiled using
> GNU CC
> >
> >when i try to compile the simplest possible c
> programm, the following
> >happens:
> >
> >I have no name!:~/compile-dynamic$ echo "int
> main(int argc, char **argv)
> >{return (0);}" > test.c
> >I have no name!:~/compile-dynamic$ gcc test.c
> >gcc: installation problem, cannot exec `cpp0': No
> such file or directory
> >
> >if change PATH to contain cpp0, ld will complain
> about a missing crt1.o,
> >what is ok since glibc is not installed so far!
> 
> 
> I had something similar a while ago.  The problem
> was caused by compiling
> gcc in chapter 5 with -O3 optimisation.  After I
> recompiled gcc without
> optimisation I was able to compile other programs
> with gcc inside the
> chroot environment.
> 
> hth
> 
> -- 
> Unsubscribe: send email to
> lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the
> message
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list