This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM syntax in gcc?
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: ARM syntax in gcc?
- From: Neelakanth <neelakanth at gnu dot org>
- Date: Thu, 4 May 2000 14:28:45 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <200005042108.OAA17033@elmo.cygnus.com>
Sometime ago, Nick Clifton said:
> Hi Neelakanth,
>
> : Does anyone know how to get ARM syntax and semantics recognized in
> : gcc? I couldnt find a flag in the manual.
>
> Your message is not very clear as to what you are looking for.
I am sorry, I should have been more clear. Does gcc provide flags to
force source file to follow the guidelines in the The Annotated C++
Reference Manual ??
thanks,
-neelakanth
>
> If you mean 'can GCC generate code for the ARM ?' then the answer is
> "yes". Just configure a toolchain with --target=arm-elf or
> --target=arm-coff and then build. There are instructions on how to do
> this on the GCC web site:
>
> http://gcc.gnu.org/
>
> If you mean 'does GCC support the syntax used by ARM's compiler in
> their SDK for command line switches, pragmas, etc ?' then the answer
> is "no". GCC has its own command line syntax. If you read the GCC
> manual you should be able to work out how to translate ARM's command
> line switches into their GCC equivalents (where they exist).
>
> If you mean 'does GCC support the syntax used for ARM assembly
> instructions ?' then the answer is "yes". GAS (when built for the
> ARM) will correctly assemble any ARM assembly instructions. Note
> however, that the command line issue is still present. GAS takes a
> different set of command line switches compared to ARM's own
> assembler.
>
>
> Cheers
> Nick
-neelakanth
(neelakanth @ gnu.org)
_____________________
http://www.gnu.org