Luca Olivetti wrote:
En/na [EMAIL PROTECTED] ha escrit:
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
How do you call the compiler? And please show me your fpc.cfg file.
I do simply an "fpc pippo.pas" (or "fpc pippo2.pas"), I'm running it
directly on the arm, I'm not cross-compiling (that's why I asked you, I
wanted to see if cross-compiling makes a difference). My fpc.cfg is what
the installer for 2.1.3 generated, manually amended for 2.1.4 (consider
that fpc is installed under /home/luca/fpc-2.1.4). It's attached.
I finally got your program crosscompiled on my windows machine. But if I
start it on the linux target, I get the output "not found". I think, I
made something wrong, when I tried to resolve the library .so symlinks.
Another problem was, that my ARM Linux uses uClibc and not libc, so the
linker complaint about some missing references in cprt0. I made changes
in cprt0.as and recompiled the rtl.
I need more time (and experience) to track this problem down.
Regards, Bernd.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal