View previous topic :: View next topic |
Author |
Message |
ausmusj1 Tux's lil' helper
Joined: 02 Jan 2004 Posts: 121
|
Posted: Wed Aug 15, 2007 11:52 pm Post subject: Can't cross-compile anything using crossdev-gen'd toolchain |
|
|
I am using the xmerge script as defined in http://www.gentoo.org/proj/en/base/embedded/cross-development.xml, all I get are either:
/usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: crt1.o: No such file: No such file or directory
Or (during configure):
Configuring NCURSES 5.6 ABI 5 (Wed Aug 15 16:42:54 PDT 2007)
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabi
checking target system type... arm-unknown-linux-gnueabi
Configuring for linux-gnueabi
checking for prefix... /usr
checking for arm-unknown-linux-gnueabi-gcc... arm-unknown-linux-gnueabi-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
Which, after looking at the config.log, is directly related to the above issue with crt1.o
I have checked in /usr/arm-unknown-linux-gnueabi/usr/lib, and the crt1.o file does exist there. I have also successfully xmerge'd glibc into my separate arm_root directory, and /mnt/arm_root/usr/lib/crt1.o exists there as well.
Any help? _________________ "XML is like violence: if it doesn't solve your problem, you're not using enough of it." |
|
Back to top |
|
|
Chewi Developer
Joined: 01 Sep 2003 Posts: 886 Location: Edinburgh, Scotland
|
Posted: Fri Aug 24, 2007 4:43 pm Post subject: |
|
|
I think it was this problem I saw with gcc 4.1. gcc 4.2 fixed it for me. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|