Hi Petri,
in scratchbox you don't need to export anything..
If SB is configured correctly, it knows which
compiler and toolchain to use, just try a "gcc -v".

Consider that SB is (IMHO?) mainly helpful in crosscompiling
automake-/ autoconf-packages. The kernel itself should
be compilable without SB like the way you discribed below..

Perhaps you have a look at opentom.org. Here you can download
the kernel (2.6.10) and the toolchain for floating-point-less
ARM9-CPU.. maybe some inspiration :) if you or your work is some
ARM-related..

good luck,
-ingo

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Petri Airio
Gesendet: Montag, 13. Februar 2006 08:09
An: [email protected]
Betreff: [Scratchbox-users] Cross compiling kernel using SB arm toolchain


Hello!

I'm trying to cross-compile linux-2.6.15.1 downloaded from the 
kernel.org so that ARCH=arm using
toolchain that came with scratchbox installation.

What I have done so far:

1) Extracted the source

2) export PATH=/scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin/:$PATH

3) make menuconfig ARCH=arm

- here just select something

4) make ARCH=arm CROSS_COMPILE=arm-linux-


Step 4 fails with a lot's of errors.

So is this compelete wrong approach or what I'm doing wrong ?

_______________________________________________
Scratchbox-users mailing list [email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users


*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************

_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to