Cerca
Ricerca parole o frasi all'interno del sito.

 
Statistiche
Visite: 9151


Aggiungi commento

bold italic underscore strike left center right justify quote code url wikipedia
red green blue pink yellow cyan olist ulist help
Happy Triste sorpresa linguaccia risata indifferente sbalordito fighetto occhiolino rolleyes eh neutral mad angel evil idea bier whistle flower sboing




ScratchBox and pthread_create()

linux.pngEverything 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!
Postato Venerdi 17 Ottobre 2008 - 23:41 (letto 470 volte)
Comment Commenti (1) Print Stampa

avatarDa: sconosciuto Data: Giovedi 23 Aprile 2009 - 21:28

Hey just a heads up, I wanted to let everyone know that Xio Dibin speaks English. I hope I posted in the right location?



Le ultime notizie relative a questo argomento

Read Installing Debian Armel (21/10/2008 - 16:44) letto 412 volte
Read ScratchBox and pthread_create() (17/10/2008 - 23:41) letto 470 volte

Tutte le notizie relative a questo argomento
linux.png
 
Login


:


Choose your language:
deutsch english español français italiano português

 
Utenti
Persone on-line:
admins 0 amministratori
users 0 utenti
guests 6 ospiti

Freely inspired to Mollio template