Failure to boot into cross built environment (iWMMXt NPTL EABI)
Steven Newbury
s_j_newbury@yahoo.co.uk
Mon Apr 24 05:46:00 GMT 2006
--- Mike Frysinger <vapier@gentoo.org> wrote:
> for setting up the cross-compiler there is a helper 'crossdev' script which
> takes care of all the mundane details ...
> # emerge crossdev
> # crossdev arm-iwmmxt-linux-gnueabi
I did try that at first but at the time there were no released version of
anything with the support in place. Since I had to dig into and learn about
how gcc works I ended up doing all myself anyway. I've learnt a lot from this
project in the last couple of months!
>
> the trick for cross-compiling into ROOT is to setup a wrapper:
> $ cat cmerge
> #!/bin/bash
> export ROOT=/mnt/arm-eabi
> export CFLAGS="-Os -march=iwmmxt ......"
> .....
> exec emerge "$@"
> $ cmerge sys-libs/glibc
Yes, great minds think alike; I did just that! It's a shame a lot of packages
are broken with respect to cross compiling, especially python! I did hope I'd
be able to cross-compile a working ARM/iWMMXt/NPTL/EABI based Gentoo (stage1 at
least)!
Steve
___________________________________________________________
24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list