Cannot Execute Binary

Hi,

I had changed my compiler options earlier so that it would compile and produce output for ARM but now i want to change it back so that i can get the executable for normal linux, I am facing problem, please help me out... it say
-bash: ./a.out: cannot execute binary file
When i had a look at the ELF it said

ELF Header:
Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: ARM
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x82b4
Start of program headers: 52 (bytes into file)
Start of section headers: 10060 (bytes into file)
Flags: 0x2, has entry point, GNU EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 6
Size of section headers: 40 (bytes)
Number of section headers: 28
Section header string table index: 25

can someone help so that the files get compiled for linux
I am using fedora 9.

Given that we do not know what you changed to support cross-compiling to ARM, it is difficult to give precise information. Perhaps the easiest way would be to remove and re-install gcc using yum.

If you want to do it by hand, you probably need to remove the --target option from gcc configuration, and reinstall the correct bintools and GNU assembler for Fedora 9 and point to the correct crt0 unless you used newlib.

well thanks for the help i got the problem and corrected it. Well re installation was my last option.