GCC install cant find compiler

A D B hackmaster451 at lycos.com
Fri Jan 3 13:03:05 PST 2003

Its there, but trying to set $CC gives this error:

I have no name!:/# export $CC='gcc -s'
bash: export: `=gcc -s': not a valid identifier

On Fri, 03 Jan 2003 14:08:06  
 Chris Lingard wrote:
>A D B wrote:
>> I'm trying to install gcc for the second time (not static, in the chrooted
>> environment), and I get the following errors:
>> ../gcc-3.2/configure --prefix=/usr --enable-shared \
>>>     --enable-languages=c,c++ --enable-threads=posix \
>>>     --with-slibdir=/lib --enable-__cxa_atexit \
>>>     --enable-clocale=gnu
>> Configuring for a i686-pc-linux-gnulibc1 host.
>> *** This configuration is not supported in the following subdirectories:
>>      target-libf2c target-libffi target-boehm-gc target-zlib
>>      target-libjava zlib fastjar target-libobjc
>>     (Any other directories should still work fine.)
>> Created "Makefile" in /usr/src/lfs-packages-4.0/gcc-build using "mh-frag"
>> and "mt-frag"
>> cannot open crt1.o: No such file or directory collect2: ld returned 1 exit
>> status
>> *** The command '/static/bin/gcc -s -o conftest -g   conftest.c' failed.
>> *** You must set the environment variable CC to a working compiler.
>Check that CC='gcc -s' if you want to use this.
>The error is caused by not finding crt1.o;  this should be in /usr/lib
>and should have been installed when you did glibc-
>Check if it there by doing ls  $LFS/usr/lib  Are you sure that
>glibc installed correctly?
>If it is there, go into the chroot environment and do
> gcc -print-search-dirs
>If /usr/lib is not the last field; let us know.
>Unsubscribe: send email to listar at linuxfromscratch.org
>and put 'unsubscribe lfs-support' in the subject header of the message

Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
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 mailing list