[fpc-pascal] Different Object Code formats

Peter Vreman peter at freepascal.org
Fri Jan 26 23:48:57 CET 2007


> On 1/26/07, Florian Klaempfl <florian at freepascal.org> wrote:
>> 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.
>
> Ummm, didn´t even know fpc had a internal assembler =)
>
> What is the default for win32? The internal assembler or Gnu As? But
> even then I´m not sure which will be used because I use Tsymbian, and
> it seams to ask for a i386-symbian-as.exe (which I generated renaming
> the as.exe for windows =) )
>
> Also, typing fpc on the command line to see the options there is only
> -Aelf and Acoff options about internal assembler marked for Linux and
> Go32V2. Is there a option to force internal assembler on win32?

All internal assemblers are used by default already for years.

For Windows there is even an internal linker. If symbian uses something like PE coff you can maybe
even use that one. It works for all Windows targets (Win32,Win64,WinCE) already.






More information about the fpc-pascal mailing list