[fpc-pascal] Compile library with Linux

Florian Klaempfl florian at freepascal.org
Sun Feb 18 10:27:38 CET 2007


Michel Meunier schrieb:
> Hello,
> My library under Windows is now OK, it use an UDP socket with the
> Synapse units (wonderful job).
> Now I want to compile it under Linux.
> The compilation is OK, but when I try to use the .so library, I get this
> message:
> 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 $B6A4418B
> 
> I use a thread inside the code to survey the UDP socket, it's work very
> well with Windows, but do you know where is the problem with Linux?

Well, do as the message say and add the cthreads unit. This is not done 
by default because it causes libc dependencies.



More information about the fpc-pascal mailing list