Andrew Haines wrote:

> quacquero wrote:
> 
>> Hi all!
>>
>> I have written a console app (in dephi 5) using TThread class,
>> and then I have translated and compiled this source with Lazarus.
>>
>> Under Windows the app work correctly,
>> but under Linux this is the error message when I launch it:
>>
>> "This binary has no thread support compiled in.
>> Recompile the application with a thread-driver in the program uses
>> clause before other units using thread.
>> Runtime error 232 at $0805FDA7
>>   $0805FDA7
>>   $0805F8EC
>>   $080675AA
>>   $0806757B
>>   $08060B2A
>>   $08054B40
>>   $0804FD7D
>>   $0804826C
>>   $080480CA"
>>
>> 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 :)

Simply cthreads is enough.


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

Reply via email to