Error Installing GCC-3.2

Federico Caminos fedecaminos at
Tue Nov 12 13:20:31 PST 2002

Thanks Grant Leslie for your help. 

There is one more thing that troubles me
Any help will be appreciated.

When I try to do ./configure I get the following

(none):/lfs/usr/src/gcc-build # ../gcc-3.2/configure
--prefix=/static --enable-languages=c  --disable-nls

Configuring for a i586-pc-linux-gnu host.
Created "Makefile" in /lfs/usr/src/gcc-build using
grep: /lfs/usr/src/gcc-3.2/gcc/version.c: No such file
or directory
./config.status is unchanged
Configuring gcc...
configure: error: can not find sources in
Configure in /lfs/usr/src/gcc-build/gcc failed,

 --- Grant Leslie <grantl at> escribió: >
Federico Caminos wrote:

> Ok, first off, the error is telling, if you know
> what the -p option
> means. -p0 means you are in the directory just above
> the those you wish
> to patch, so patch will see this line..
> |diff -uNr gcc-3.2.orig/gcc/calls.c
> gcc-3.2/gcc/calls.c
> and look for the directory gcc-3.2 in the current
> directory
> However, when using -p1 ( as in the patch directions
> in the book ) patch
> will assume gcc-3.2 is _already_ the currect working
> directory, and look
> for gcc there..
> Therefore, ( to make a long story short), whenever
> applying any of the
> patches in the book, cd into the new directory
> created after extracting
> the source tarball. ie..
> tar xvfj gcc-3.2.tar.bz2
> cd gcc-3.2
> and then apply the patch from here..
> patch -Np1 < ../gcc-3.2.patch
> Patch should be able to find the proper files to
> patch this way.

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil:
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list