Windows DatabaseebooksStatistical Information

LLE10126 : Posix error 8: Exec format error


You get the error message: Exec format error




The program you try to run is not an executable format. It is relatively easy to generate this error.

Compile a program with gcc


gcc testprogram -o testprogram

Now you can run the program and nothing is wrong. You can change the compilation like:

gcc testprogram -c -o testprogram

You will notice that what you get is not an executable. If you make it executable with chmod +x testprogram and try to

run it, you will get the error

-bash: ./testprogram: cannot execute binary file


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring