Hi, all!
    When I was running "sb2-init ARM 
/work/tools/arm-2007q3/bin/arm-none-linux-gnueabi-gcc", 
there are some error, the log are:
"
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Running /work/scratchbox2/bin/sb2-build-libtool failed
"

    In config.log, I can see the informaton below:
"
configure:2830: checking whether the C compiler works
configure:2836: ./a.out
qemu: Unsupported syscall: 983045
cannot set up thread-local storage: unknown error
configure:2839: $? = 127
configure:2848: error: cannot run C compiled programs.
"

   I have install qemu-0.9.0+20070816-1, and it runs well: 
I can use "qemu-arm /work/nfs_root/fs_qtopia/bin/busybox" to run the arm 
application on x86.

   But in sb2, /work/nfs_root/fs_qtopia/bin/busybox can't run directly:
"
[SB2] [EMAIL PROTECTED] /work/scratchbox2/fs_x $ 
/work/nfs_root/fs_qtopia/bin/busybox 
bash: /work/nfs_root/fs_qtopia/bin/busybox: No such file or directory           
 =======> it can't run

[SB2] [EMAIL PROTECTED] /work/scratchbox2/fs_x $ qemu-arm 
/work/nfs_root/fs_qtopia/bin/busybox 
BusyBox v1.7.0 (2007-10-01 19:24:24 CST) multi-call binary                      
 ========> it is ok 
"

   I can run the ARM application in sb2 directly, is it true ?
   Thank you evry much, please give me some suggestions.






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

Reply via email to