> >> 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







                                          
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to