Hi all,

I'm trying to work with sb2 in order to cross compile packages for ARM.
I only need to build source packages (i.e. configure, make, make
install), no more.
I downloaded CodeSourcery toolchain and setup sb2 using:
mkdir $HOME/buildroot
cd $HOME/buildroot
[copy a rootfs to here]
sb2-init mytarget /path/to/arm-2007q1/bin/arm-none-linux-gnueabi-gcc

But, when I try to compile stuff I get the following error:
/path/to/arm-2007q1/bin/arm-none-linux-gnueabi-ld: crt1.o: No such
file: No such file or directory
collect2: ld returned 1 exit status

So I guess my toolchain can't find itself (the crt1.o is part of the
libc in the toolchain).
So maybe I had to put the toolchain inside the rootfs ?

I really don't know..
Is there anywhere an example for a rootfs suitable for sb2 ?
I'd be very happy to see one...

Another question - what version of sb2 should I use ?
Ubuntu has 1.99.0.19, freedesktop.org has a tarball of 1.99.0.23 and
its git has 1.99.0.25, so I'm a little puzzled here what version is
better for me. I am compiling on x86_64 (Ubuntu 8.04 AMD64) for ARM..

Thank you,
Sfora
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to