Re: [arm-gnu] Issue in codesourcery (2009q3-67) on cortex a-9

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

 



On Wed, Apr 14, 2010 at 12:58 PM, trisha yad <trisha1march@xxxxxxxxx> wrote:
>
> I made a very simple program
>
> #include<stdio.h>
> int main()
> {
> float a=2.3;
> printf("%f",a);
> }
>
> and compile with
> arm-none-linux-gnueabi-gcc -mfloat-abi=softfp -mfpu=vfpv3-d16
> -mcpu=cortex-a9 test.c
>
> and I got Illegal instruction.
>
> I am attaching my binary file also

Your binary works fine on a Tegra2 board running Ubuntu.

In your first message you mentioned "Tegra" and not "Tegra2".
Was it a typo? Tegra is using an ARMv6 processor not a
Cortex-A9.


Laurent

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux