Re: [coldfire-gnu-discuss] Problems with -mcpu=assembler switch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] Problems with -mcpu=assembler switch
- To: Paul McConkey <paul.mcconkey@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] Problems with -mcpu=assembler switch
- From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Date: Wed, 16 Aug 2006 13:34:38 -0400
On Wed, Aug 16, 2006 at 05:58:36PM +0100, Paul McConkey wrote:
> I have noticed a slight problem with the m68k-elf-as assembler in your
> current release of the ColdFire toolchain.
>
> I'm building for an mcf5282 target so I have set -mcpu=5282 and just
> get:
>
> "error: bad value (5282) for -mcpu= switch"
>
> although 5282 is listed as a valid CPU target by -help and
> --target-help.
>
> The 528x switch seems ok.
Hi Paul!
Thanks for your interested in our Sourcery G++ Coldfire toolchains.
1. Are you running the assembler directly or through GCC?
2. Which version of the toolchain are you using? (m68k-elf-gcc --version)
The compiler does not accept -mcpu=5282, it only accepts 528x.
The assembler accepts -mcpu=5282.
Ufnortuantely the output of "m68k-elf-gcc --target-help" is sometimes
confusing since it includes help information for the assembler.
The 5281, 5282, 5283 are the same as 528x. I will file an internal issue
so that the compiler and assembler have similar options.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716