This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: fp problem building arm cross-compiler
- From: scs at eskimo dot com (Steve Summit)
- To: gcc-help at gcc dot gnu dot org
- Cc: kai dot ruottu at wippies dot com (Kai Ruottu)
- Date: Thu, 10 Mar 2016 12:18:28 -0500
- Subject: Re: fp problem building arm cross-compiler
- Authentication-results: sourceware.org; auth=none
Kai Ruottu wrote:
>9.3.2016, 16:49, Steve Summit kirjoitti:
>> I'm trying to build a 4.6.3 cross-compiler with target
>> arm-linux-gnueabihf . But... I'm getting three errors of the form
>> "selected processor does not support ARM mode `mvfeqd f0,#0.0'".
>
> I think the "--with-arch=armv6 --with-fpu=vfp --with-float=hard" will
> make it...
Thanks much! That made the difference, although in my case for
some reason I also had to add --with-abi=aapcs-linux (otherwise
I got "sorry, unimplemented: -mfloat-abi=hard and VFP").
I'm on to the next problem, but I'll put that in a separate thread.