Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
22 years ago

executable files

i wrote some code in c and i want to omplement that file in my uclinux filesystem, but when i try to compile it with gcc it tells me the error:

BINFMT_FLAT: bad magic/rev (0x3000000, need 0x4)

BINFMT_FLAT: bad magic/rev (0x3000000, need 0x4)

MZ :not found

can anyone help??

thx

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Have a look at the thread "Linux Executable", it solved my problem.