Jakub Ladman wrote:
I am using ep9307, but i can't find a way to set up crossdev to build
cross-compiler toolchain for maverick-crunch and the eabi extensions.
But i failed to match the right libc and gcc versions and CFLAGS ... to build
softfloat uclibc toolchain too.
Even the toolchain created by scripts from http://arm.cirrus.com worksn't good
(C compiler seems to be OK, but C++ compiling fails everytime in the linker
phase)
Interesting... I'm using the 'crunch.tar.gz' package that has several
bitbake scripts (.bb files) from the cirrus list as well.
http://martinwguy.co.uk/martin/FPU/futaris
My plan is to just create my own portage overlay, and root through all
of the patches (one by Mike Frysinger, I might add) to get eabi and
maverick crunch working.
Binutils-2.17 was quite simple to patch (there was only 1 patch file),
but gcc seems to have _lots_ ...
Aside from that, I think that ECONF_EXTRA needs to be set in order to
get crunch support by default on the C compiler. For that, what I'm
using is:
ECONF_EXTRA="--without-x --enable-languages=c,c++ \
--with-cpu=ep9312 --with-float-abi=softfp --with-fpu=maverick" \
crossdev -S armv4t-maverick-linux-gnueabi
(these options can be passed to the gcc configure script, see
gcc*/INSTALL/index.html -> configure)
(I assume that when you say gnueabi, then it will set --with-abi=aapcs
or whatever that option is... all of the options are in gcc*/gcc/config/arm)
I was really depressed of it.
My last chance to have any working compiler toolchain, was connencting a
harddrive via usb<>sata cable, to my evaluation board and install there a
stage3 for softfloat arm.
Sorry, are you having problems creating an i686 ->
arm-softfloat-linux-gnu cross-compiler or cross-compiling gcc for
softfloat? Softfloat should compile cleanly, but I've had to apply two
patches (1 of which should definitely be upstream)
1) externalize jar and 2) @progbits patch for arm/sysv.S
The externalize jar patch is only necessary for libjava / gcj ... and
from what I've seen, it's pretty damn slow on the arm anyway, so I'll
probably forget about it.
I'll let you know if I have any success with my overlay, but sorting
through all of the patches for gcc might take quite a bit of time.
~/Chris
--
[email protected] mailing list