> quacquero wrote:
> >
> >Can anybody explain to me this message?
> >Excuse me for bud english.
> >
> >  
> >
> Add "pthreads,  libc" as the _first_ units used in your app
> 
> program myprogram;
> 
> uses pthreads, libc, ...
> 
> I'm not sure if the libc unit is needed but I know it used to  be :)

This will not work.

pthreads and libc have the same function here, and only link to libc and get 
the relevant symbols.

It doesn't initialise  the FPC internal threading support, that is what 
cthreads does.

Worse, libc will make your app linux/x86 only.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to