
Everything on this site is, in general, in Italian, but I'm writing this in English since I believe that it could be of general interest.
I was using
ScratchBox with the CodeSourcery toolchain for ARM7 (
scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.8-6-i386.tar.gz) to cross-compile and test some software for the ARM platform.
I noticed that every time a pthread_create() was in the code, the program in execution just terminated. No error message, no error code (the value returned by the program was 0), absolutely nothing.
I couldn't find any info on the Net about this problem, so I decided to write here about it and its solution.
(Click on "Read All / Leggi tutto" to read the rest)
I found out that it was a problem of qemu.
The qemu version that I was using is the one name qemu-arm-cvs-m that can be found in the cpu transparency package of ScratchBox (
scratchbox-devkit-cputransp-1.0.7-i386.tar.gz).
Downloading and installing
qemu-arm-eabi following the instructions listed on its website and then selecting it as the emulator to be used by ScratchBox (using
sb-menu from inside the cross-compilation environment) I was able to solve the problem.
I hope this can help someone!
Le ultime notizie relative a questo argomento
Installing Debian Armel (21/10/2008 - 16:44) letto 413 volte
ScratchBox and pthread_create() (17/10/2008 - 23:41) letto 471 volte
Tutte le notizie relative a questo argomento
Hey just a heads up, I wanted to let everyone know that Xio Dibin speaks English. I hope I posted in the right location?