> I tried to compile a program with fpc (for FreeBSD). 

It sounds like you tried to build a LInux specific program :-)

> The objectfile was build, but the linker put an error msg on the screen. 
> linking
> /usr/bin/ld cannot find -ldl 

File libdl is missing. However these calls are integrated into libc under
FreeBSD, and not separate as under Linux. Try to find a {$linklib dl} in the
source and put a {$ifndef BSD} around it, so that it reads:

{$ifndef BSD}
{$linklib dl}
{$endif}

> ehh ? 
> I looked in the /usr/bin dir, the gnu linker is there. What`s the problem ? 


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

Reply via email to