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