compiling error on gcc-3.2
chris at stockwith.co.uk
Sun Oct 13 15:48:27 PDT 2002
jose nuno neto wrote:
> I've been trying to install a linux system with LFS
> but i'm getting compile error with gcc at Chapter 6
> I've followed latest instructions on the cvs but
> Let me know should i do
> Jose' Neto
> out put message
> I have no name!:/usr/src/gcc-3.2# cd ../gcc-build
> <c-build# ../gcc-3.2/configure --prefix=/usr
> --enable-shared \
> --enable-threads=posix \
>> --with-slibdir=/lib --enable-__cxa_atexit
> Configuring for a i586-pc-linux-gnulibc1 host.
> *** This configuration is not supported in the
> following subdirectories:
> target-libffi target-boehm-gc target-zlib
> target-libjava zlib fastjar
> (Any other directories should still work fine.)
> Created "Makefile" in /usr/src/gcc-build using
> "mh-frag" and "mt-frag"
> cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit stat
> *** The command 'cc -o conftest -g conftest.c'
> *** You must set the environment variable CC to a
> working compiler.
Please check that you have installed grep correctly. You should have
a static program called egrep in your LFS system
Check for this by doing ldd $LFS/static/bin/egrep
If this reports that it is dynamically linked then reinstall Grep.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support