[fpc-pascal] DateToStr in arm does not work!

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jul 4 08:57:11 CEST 2007

On 03 Jul 2007, at 23:45, mueller.b at gmx.net 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:

(or wherever the libraries are located on your system)


More information about the fpc-pascal mailing list