[fpc-pascal] Different Object Code formats

Florian Klaempfl florian at freepascal.org
Fri Jan 26 13:57:38 CET 2007


Jonas Maebe schrieb:
> 
> On 26 jan 2007, at 11:55, Felipe Monteiro de Carvalho wrote:
> 
>> I went througth the documentation of both gnu as and the linker, and
>> both say to be using COFF format. So are there several
>> compilers/linkers using different (read incompatible) interpretations
>> of what a coff .o file should be, all calling it COFF??
> 
> COFF is just a container, it can contain a lot of stuff which cannot
> necessarily be handled by every linker in existence.
> 

COFF is something like TIFF or AVI. Usually linkers and assembler don't make use
of everythin one format supports. Best bet is to dump some object files of
CodeWarrior and try to adapt the FPC coff backend so it is also able to create
CodeWarrior compatible coffs.



More information about the fpc-pascal mailing list