This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: C compiler cannot create executables


Hi,

On Thu, Sep 9, 2010 at 1:42 PM, Doug Crawford <dcraw101@yahoo.com> wrote:
> I get this error on the "Installing final compiler" stage when building a
> powerpc-linux-uclibc toolchain with gcc 4.5.1 or gcc 4.3.4.? Interestingly gcc
> 4.4.3 works.? I am building on Ubuntu 10.04 using the trunk version of
> crostool-ng.? There were some earlier emails discussing this topic with uclibc
> cross builds.? Is there a patch that was applied to gcc 4.4.x that I need to
> also apply to gcc 4.3.x or gcc 4.5.x?? Here is my config:
> powerpc-860-linux-uclibc? [l X]
> ??? OS???????????? : linux-2.6.34.6
> ??? Companion libs : gmp-4.3.2 mpfr-3.0.0 ppl-0.10.2 cloog-ppl-0.15.9 mpc-0.8.2
> libelf-0.8.13
> ??? binutils?????? : binutils-2.20.1
> ??? C compiler???? : gcc-4.5.1 (C,C++)
> ??? C library????? : uClibc-0.9.30.3
> ??? Tools????????? : gdb-7.1 strace-4.5.20
>
can you dig in the faulty config.log generated by gcc's configure
script to know the exact reason of the failure ? "error: C compiler
cannot create executables" is too vague to troubleshoot anything.

Thanks,
 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]