[U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options

Wolfgang Denk wd at denx.de
Tue Feb 19 13:36:09 CET 2008


In message <9a3001c872b7$dc147910$0402a8c0 at atmel.com> you wrote:
> 
> >> If so I'll put -msoft-float in all arm config.mk files.
> 
> Please DON'T!
> This *forces* you to compile U-Boot with a compiler suite which is
> configured to generate soft-float.

I think this is not correct. Even if your compiler is not configured
to generate soft-float by default, asking it to do so should cause no
harm.

> If you happen to use a compiler which does not support soft-float,
> I.E: uses NWFPE, then the build will fail.

Even if it's configured for NWFPE as default setting, it should still
be able to generate soft-float. 

And in the end, it should make no differece at all as we don't use FP
in U-Boot.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I ever needed a brain transplant, I'd choose a teenager's  because
I'd want a brain that had never been used.




More information about the U-Boot mailing list