Henri Gourvest a écrit :
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}
{
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}
{
sizeof(integer) return 2.
It is a bit strange for me :-/
Perhaps there is some tips I have to know before porting applications to
64 bits.
Thanks
Henri
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listi
}
{$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 - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal