From: Wolfgang Denk Date: Tue, 19 Feb 2008 13:36:09 +0100 Subject: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options In-Reply-To: Your message of "Tue, 19 Feb 2008 00:04:56 +0100." <9a3001c872b7$dc147910$0402a8c0@atmel.com> Message-ID: <20080219123609.3A63324D15@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <9a3001c872b7$dc147910$0402a8c0@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.