Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't cross-compile anything using crossdev-gen'd toolchain
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ausmusj1
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 121

PostPosted: Wed Aug 15, 2007 11:52 pm    Post subject: Can't cross-compile anything using crossdev-gen'd toolchain Reply with quote

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
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Fri Aug 24, 2007 4:43 pm    Post subject: Reply with quote

I think it was this problem I saw with gcc 4.1. gcc 4.2 fixed it for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
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