On 18 May 2008, at 02:33, 开心 wrote:
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.
The definition of some pthread types may be different in uclibc than
in gnu libc. Check whether the types and function definitions in rtl/
linux/pthread.inc match those in your C header files.
Jonas_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel