[fpc-devel] fpc program now can work under uclibc based linux system, but using cthreads fails.

Florian Klaempfl florian at freepascal.org
Sun May 18 09:54:02 CEST 2008


开心 schrieb:
> I compile my program with fpc2.3.1, then copy all the necessary .o files to
> uclibc linux to link, and it works!  But cthreads.pp throwing an Access
> Violation on my system, I tried to debug this and am stuck now in 
> *cthreads*.pp. line 289:
> if *pthread_create*(ppthread_t(@threadid), @thread_attr, @ThreadMain,ti) 
> <> 0 then
> I would like to know how to patch it.

Do you have any example how it works in C?



More information about the fpc-devel mailing list