On 03 Jul 2007, at 23:45, [EMAIL PROTECTED] wrote:
Luca,
> could you check bug 9191?
>
> http://www.freepascal.org/mantis/view.php?id=9191
if I try to compile, the linker complaints about not finding the
object dl, though dl.o and dl.ppu are present in the rtl/units/arm-
linux directory.
D:\FPC214\B1\BINUTI~3\arm-linux-ld.exe: cannot find -ldl pippo.pas
(47,6) Error: Error while linking
pippo.pas(47,6) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
The -ldl refers to libdl.so, not to dl.o. You have to copy it from
your ARM system to your Windows machine, and add the directory with
all your ARM libraries to the linker's search path, like Luca did:
-Fl/usr/lib/gcc/arm-linux-gnu/4.1.2
(or wherever the libraries are located on your system)
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal