Henri Gourvest wrote:

I'm trying to compile on suse 9.2 but when I use the "dl" unit and the "cthreads" unit the linker don't work.
it can't find -ldl.


I've tryed to use this compiler options without success:

{$IFDEF FPC}
{$IFDEF UNIX}
{$IFNDEF BSD}
{$linklib dl}    {$ENDIF}
{$linklib crypt}
{$ENDIF}

The problem seem to located in link.res at the end of the file:
...
INPUT(
-ldl
-lpthread
)

Any idea ?

Thanks

Henri Gourvest


_______________________________________________
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



I have installed the missed development libraries and all work fine without the need of "-Fl/usr/lib64 and -Fl/lib64"


Thank you

Henri


_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to