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

Tomas Hajny XHajT03 at hajny.biz
Wed Aug 6 14:34:50 CEST 2014

On Wed, August 6, 2014 14:30, Fred van Stappen wrote:
>> 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'
> ;-(

You should not use that parameter for compiling fpc, but only for
compiling your library. This shouldn't require any complicated script,


More information about the fpc-devel mailing list