[fpc-devel] Unit linking to .obj files and fpcmake.

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Apr 13 17:11:36 CEST 2006


Just one note.

You don´t need to use a external dll to use the c version. On a Delphi
project of mine I use ZLibEx.pas

It is a pascal file that statically imports .o files compiled from the
"official" c sources using c++ builder and offers some Stream objects
to use ZLib with TFileStream (or other streams you want to use), so
it´s really easy to use.

You can download it here:


It was created by Borland and Base2 technologies and is the version
distributed with Delphi.

There are some issues however:

1 - Windows only

2 - Was made with Delphi in mind, so may need some minor changes to
compile with Free Pascal, like adding {$mode delphi}

Felipe Monteiro de Carvalho

More information about the fpc-devel mailing list