[fpc-pascal] Assembler file generate by compiler
pascaldragon at googlemail.com
Sun Aug 19 22:25:54 CEST 2012
On 19.08.2012 17:59, Rainer Stratmann wrote:
> Am Sunday 19 August 2012 16:50:20 schrieb Jonas Maebe:
>> On 19 Aug 2012, at 16:45, Rainer Stratmann wrote:
>>> fpc 2.4.2-0 [2010/11/11] for i386
>>> I put "-a" to projectsettings -> other -> userdefined settings
>>> Output of the message window when compiling:
>>> Note: Switching assembler to default writing assembler
>>> I can still not see an assemblerfile...
>> Try using the command line compiler instead, or ask on the Lazarus list.
>> And in the future, please always mention what exactly you are doing from
>> the start.
>>> If I activate extrafpc.cfg what happens then with the settings in the
>>> dialog boxes?
>> I don't know, ask on the Lazarus list. Lazarus and FPC are developed by
>> different people.
> For finding a solution: what does the message from fpc compiler:
> "Note: Switching assembler to default writing assembler"
> means exactly?
As leledumbo said: by default the compiler for i386 and x86_64 uses the
internal assembler which uses the generated assembler code class tree
and converts that to binary code directly, thus no file is generated. If
you now pass an "-a" option the compiler switches to an assembler were
the generation of files is done and then calls that assembler (e.g. GNU
as) to assemble the assembler file to binary code.
More information about the fpc-pascal