Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2012-11

FPC's -A option

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mark Morgan Lloyd

What is the intent of

-Adefault Use default assembler
-Aas Assemble using GNU AS

on classic unix systems e.g. SPARC and MIPS? Is it that -Aas selects gas (and assumes that gas's command-line is consistent for cross-builds etc.) and that -Adefault selects whatever variant of as is provided by the non-GNU unix (e.g. Solaris and IRIX) provided by the originally-dominant manufacturer (e.g. Sun and SGI)?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Jonas Maebe
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 10 lines
What is the intent of -Adefault Use default assembler -Aas Assemble using GNU AS on classic unix systems e.g. SPARC and MIPS? Is it that -Aas selects gas (and assumes that gas's command-line is consistent for cross- builds etc.) and that -Adefault selects whatever variant of as is provided by the non-GNU unix (e.g. Solaris and IRIX) provided by the originally-dominant manufacturer (e.g. Sun and SGI)?

-Adefault simply selects whatever the compiler uses as the default for the platform. That may be GNU AS, or something else. Normally, if multiple assemblers are supported then there will also be a separate - A option to explicitly select this other assembler.

Jonas

Reply by email