[fpc-devel] Unit linking to .obj files and fpcmake.
Daniël Mantione
daniel.mantione at freepascal.org
Tue Apr 11 10:51:12 CEST 2006
Op Tue, 11 Apr 2006, schreef J. Peter Mugaas:
> Before mentioning that the .obj files are not supported, I am aware
> that this has not been tested. I wish to see if this can work (you
> don't know until you try).
It is not a matter of .obj not been tested, it is a matter of the GNU
linker not understanding .obj files at all. The GNU linker only eats COFF
formatted .o files, if you feed it a .obj it will refuse.
> I'm trying to do this with the ZLib library (the
> most recent version). For Linux, I have verified that the ZLib library
> works through dynamic loading. On Win32, that may not be desirable
> since there seems to be several versions of the ZLIB .DLL
It is often better to use Paszlib and forget about DLL's and .so's.
Daniël
More information about the fpc-devel
mailing list