On Fri, 4 Jan 2008, Lukas Gradl wrote:

> 
> 
> Michael Van Canneyt schrieb:
> > 
> > On Fri, 4 Jan 2008, Lukas Gradl wrote:
> > 
> > > Anyone got FastZLib to compile with FPC?
> > >
> > > (http://www.dellapasqua.com/delphizlib/)
> > >
> > > When it links the .OBJ-Files there occurs an "Illegal COFF Magic while
> > > reading" and the name of the OBJ-File.
> > >
> > > Could'nt find an information in that - seems that Borland-C compiled files
> > > can
> > > not be read by ld.
> > 
> > This is correct, it is not the same format.
> > 
> > 
> > > As there are the C-Sources as well perhaps anyone can tell me how to
> > > create
> > > appropriate .OBJ-Files - or perhaps anyone else already got FastZLib link
> > > with
> > > FPC?
> > 
> > You'll need to recompile the .obj files from the C sources.
> > 
> > Michael.
> 
> hmmm - can you give me a hint with which compiler and perhaps with which
> options I've to compile so the .OBJ is compatible to the linker?

Simply using gcc should do it.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to