cannot compile gcc 403

Praveen Shekade praveen_shekade at yahoo.com
Sun Jun 3 00:02:58 PDT 2007


thanks a lot --compiled and installed . 
Now I could run the cmd from other dir prefix as
/tools.

Thank you

pls 

--- Chris Staub <chris at beaker67.com> wrote:

> Praveen Shekade wrote:
> > Following is the error
> > my hot system is fc3
> > 
> > lfs:/mnt/lfs/build/gccbuild/gcc-4.0.3$ ./configure
> > --prefix=/tools --with-local-prefix=/tools
> > --disable-nls --enable-shared --enable-languages=c
> > loading cache ./config.cache
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > checking build system type... i686-pc-linux-gnu
> > checking for a BSD compatible install...
> > /usr/bin/install -c
> > checking whether ln works... yes
> > checking whether ln -s works... yes
> > configure: error: Building in the source directory
> is
> > not supported in this release. See
> > http://gcc.gnu.org/install/configure.html for more
> > details.
> > lfs:/mnt/lfs/build/gccbuild/gcc-4.0.3$
> > 
> > 
> You are not in the right dir. You are supposed to
> run configure from the 
> build directory, not the source dir. It appears you
> have misread the 
> instructions in the book - as stated on page 5.1,
> each package 
> installation instructions assume that you have
> already unpacked the 
> tarball and entered the package source dir.
> Therefore, the command to 
> create ../gcc-build (and of course cd ../gcc-build)
> should be executed 
> from within the GCC source dir.
> -- 
>
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
> 



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/



More information about the lfs-chat mailing list