[fpc-devel] fpc libraries do not work in freeBSD...
Fred van Stappen
fiens at hotmail.com
Wed Aug 6 16:13:46 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.
OK, libtest.pas compiled with -s.
link.res: =>
///////////////////////////////
...
blablabla
...
INPUT(
/usr/lib/codetyphon/fpc/units/x86_64-freebsd/rtl/dllprt0.o
test.o
/usr/lib/codetyphon/fpc/units/x86_64-freebsd/rtl/system.o
/usr/lib/codetyphon/fpc/units/x86_64-freebsd/rtl/objpas.o
)
////////////////////////
So, yes, it is the good dllprt0.o used...
Hum, what is this system.o for ? Nothing to change there ?
Thanks. (we will win, sure).
Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140806/6ee5210e/attachment.html>
More information about the fpc-devel
mailing list