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]

Trouble building cross compiler for powerpc


Hi,

I'm using ct-ng to prepare a cross compiler for PowerPC. I picked "powerpc-unknown-linux-gnu" sample and started the build process. Everything went ok until the "libc" step (Installing C library), when it failed telling me it could not find -lgcc. The full error log is appended to the end of this message.

As similar problems where previously reported in this list, I tried several suggested workarounds but had no success at all.

However, I can build a "powerpc-unknown-linux-uclibc" crosscompiler without problem. But I need the glibc one.

Any ideas? Thanks in advance!

Error log:
---------------

[ALL  ] powerpc-unknown-linux-gnu-gcc -nostdlib -nostartfiles -r -o /home/mike/cross/toolchain/targets/powerpc-unknown-linux-gnu/build/build-libc/elf/librtld.map.o '-Wl,-(' /home/mike/cross/toolchain/targets/powerpc-unknown-linux-gnu/build/build-libc/elf/dl-allobjs.os /home/mike/cross/toolchain/targets/powerpc-unknown-linux-gnu/build/build-libc/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/mike/cross/toolchain/targets/powerpc-unknown-linux-gnu/build/build-libc/elf/librtld.mapT

[ALL  ]    /home/mike/cross/toolchain/targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/powerpc-unknown-linux-gnu/4.3.2/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lgcc




--
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]