Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: bobfre on June 29, 2008, 04:03:20 am
-
I sent my mate the binary, it wouldnt open...niether would his went he went me his, so we thought scrap that, we had to make ourselves s.out files he sent me his and his program worked fine, i senthim mine and it says the program cannot run, nothing to do with any type of errors it just says it cant run.
bash: ./Calc3int: cannot execute binary file
Please if theres any resolves to this please can you post,
if i use the 32bit codeblocks to build this will it mean it will run?
Thanks
bob
-
Come its not that hard of a question to answer
Please anyone
-
Come its not that hard of a question to answer
Please anyone
Yes it's not difficult to answer when you provide appropriate informations. Following command (assuming you're using linux) may help you.
Make sure the output matches at both locations.
-
add -m32 to your compiler and linker flags.