Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [arm-gnu] urgent toolchain


  • To: kiran <kiranbhat2006@xxxxxxxxx>
  • Subject: Re: [arm-gnu] urgent toolchain
  • From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
  • Date: Tue, 12 Aug 2008 18:07:50 -0400

kiran wrote:
What are the options i have to give for compiling  the
program for  ARM926EJ-S cpu ?
The options right now i am using is
-msoft-float and -mcpu=arm926ej-s.
The toolchain what i am using is gcc version 4.2.1
(Sourcery G++ 4.2-107).

Using "-mfpu=vfp -mfloat-abi=softfp" instead of "-msoft-float" will enable VFP hardware floating-point code-generation for your program. The run-time libraries will still use software floating-point. Routines compiled for VFP are compatible with software floating-point.

                Is there any optimized toolchain for floating point
library for this particular cpu ?

Yes, Sourcery G++ Professional offers VFP optimized run-time libraries.

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716