[fpc-pascal] Language mode, assembler style
Sven Barth
pascaldragon at googlemail.com
Sat Aug 25 12:13:17 CEST 2012
On 25.08.2012 12:00, Rainer Stratmann wrote:
> Why is -Mfpc the default language style?
>
> I assume -Mobjfpc or -M2 is the most used style.
>
"fpc" was the first mode that FPC supported, so that's kept because of
backwards compatibility.
> Why does -Mobjfpc overwrite the assember style?
Because only for modes TP and Delphi the default style is Intel instead
of AT&T which was chosen as the default for FPC (not the mode, but the
compiler) on x86 systems.
And before you ask: I don't know why AT&T was chosen as default, maybe
by personal preference. I personally indeed prefer the AT&T syntax over
the Intel one...
Regards,
Sven
More information about the fpc-pascal
mailing list