User forums > Using Code::Blocks
64bit to 32bit compatibility
(1/1)
bobfre:
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
bobfre:
Come its not that hard of a question to answer
Please anyone
Biplab:
--- Quote from: bobfre on June 29, 2008, 01:07:36 pm ---Come its not that hard of a question to answer
Please anyone
--- End quote ---
Yes it's not difficult to answer when you provide appropriate informations. Following command (assuming you're using linux) may help you.
--- Code: ---ldd Calc3int
--- End code ---
Make sure the output matches at both locations.
niteice:
add -m32 to your compiler and linker flags.
Navigation
[0] Message Index
Go to full version