[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] problems with floating point calculations while using LTIB cr
From: |
Steve Papacharalambous |
Subject: |
Re: [Ltib] problems with floating point calculations while using LTIB cross compiler for IMX31ADS |
Date: |
Wed, 25 Jul 2007 13:52:35 +0100 |
Hi Ghouse,
The flags "mfloat-abi=softfp mfpu=vfp" will generate VFP hard floating
point instructions which is correct for the imx31ads platform,
Best regards,
Steve
On Wed, 2007-07-25 at 16:35 +0530, ghouse mohiddin wrote:
> Hi ,
>
> I am cross compiling Spider Monkey(JS) ( C implementation of Java
> Script Engine ) of Mozilla using arm-none-linux-gnueabi-gcc (LTIB).
>
> I am able to cross compile it but while iam running js on target i.e
> imx31ads I am getting negative values, segmentation faults for
> floating point calculations.
>
> In ltib, config/platforms/imx31ads/defconfig file
> CONIFG_TOOLCHIAN_CFLAGS using mfloat-abi=softfp mfpu=vfp. but still it
> is giving problems for floating point calculations.
>
> shall i need to use hardfloat instead of softfloat.or i have to use
> any other flags so that i can solve this flaoting point issue.
>
> Please help me to solve this issue.
>
> Regards,
> Ghouse..
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
--
Steve Papacharalambous
Developer Technology.
Registered address:
Freescale Semiconductor UK Ltd
Colvilles Road
East Kilbride
Glasgow
Scotland
G75 OTG
Registration number: SC262720
VAT number: GB831329053
(X) Public
( ) Freescale Internal Use Only
( ) Freescale Confidential Proprietary