[fpc-devel] fpc libraries do not work in freeBSD...

Fred van Stappen fiens at hotmail.com
Wed Aug 6 14:30:55 CEST 2014

> For that purpose, compile your library with
> parameter '-s' (avoid linking) and carefully check the created script.res
> file to make sure that either dllprt0.o is listed with a full path and the
> full path specification corresponds to the modified file (and no other
> reference to dllprt0.o appears in the linker script), or none of the
> search directories listed in the produced linker script contains an older
> version of dllprt0.o if dllprt0.o is listed in the linker script without
> path.

Hum... Not so easy. I use a script (Code Typhon script) for compiling fpc.
That script use gmake clean all blablabla => where to add parameter '-s'  ;-(

Other thing, i have done a research of dllprt0.o and find only one: =>

/usr/lib/codetyphon/fpc/units/x86_64-freebsd/rtl/dllprt0.o =>

Last modified : 06/08/2014 => it is the date of compilation after change.

So it seams that it is the modified one... 

Aaaaaaarghhhhh. ;-(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140806/06cb6a8b/attachment.html>

More information about the fpc-devel mailing list