Re: Toolchain for Maverick Crunch FPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 13 April 2007 07:50, Kai Ruottu wrote:
> Richard Earnshaw wrote:
> > On Thu, 2007-04-12 at 14:16 +0300, Kai Ruottu wrote:
> >> Things seem to be that the '-mcpu=ep9312 -mhard-float' combination will
> >> crash the GCC build in both gcc-4.1.2 and gcc-4.2.0-20070316 prerelease
> >> like :
> >
> > -mhard-float doesn't do what you think it does...
> >
> > I think you should be using:
> >
> > 	-mcpu=ep9312 -mfpu=maverick -mfloat-abi=softfp
>
> Thanks, I implemented these default options for ep93xx in a separate
> 'ep9312-elf' target, now
> there was that common
>
>    arm*-*-elf | ep9312-*-elf)

Don't do that. Use arm-elf (or preferably arm-eabi) 
and --with-cpu=ep9312 --with-float=hard --with-fpu=maverick

The xscale-* and ep9312-* targets have been deprecated for quite a while.

>  To get the 'arm-elf' one to produce code with your '-mcpu=ep9312
> -mfpu=maverick -mfloat-abi=softfp' when getting the bare '-mcpu=ep9312'
> should succeed via tinkering

This is a bad idea. Changing the CPU should not mess with other options.

Paul


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux