Re: Make error, link test in zlib for cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Donald Schlicht schrieb:
> I am trying to make an ARM cross compile from the current gnu gcc
> sources. I am encountering a problem when compiling the first gcc cross
> compiler. I get the error message "Link tests are not allowed after
> GCC_NO_EXECUTABLES". I have attached a screen drop from the make
> command.
> 
> My system: Ubuntu 10.04 LTS. The OS is patched to the latest patches for
> that OS. The gcc version is 4.4.3. I have compiled and installed
> gmp-5.0.1, mpfr-3.0.0 and mpc-0.8.2. All of these pass their make check
> test.
> 
> I have downloaded and extracted: binutils-2.20.1, gcc-4.5.0 and
> newlib-1.18.0.
> 
> I have configured and make binutils with the commands:
> ./configure --target=arm-elf --prefix=/donald/home --enable-interwork
> --enable-multilib CC=gcc
> make all install
> Binutils appears to compile and link correctly, the executable files are
> created, and no errors are shown.
> 
> However when I try to configure and make the first stage gcc compiler,
> using these commands:
> /configure --target=arm-elf --prefix=/donald/home --enable-interwork
> --enable-multilib --enable-languages="c,c++" --with-newlib
> --with-headers=/donald/Documents/newlib/newlib/libc/include CC=gcc
> make all-gcc install-gcc

CC must /not/ be set. It must be empty. Arrange your PATH so that your preferred
gcc will be found first.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux