News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

64bit to 32bit compatibility

Started by bobfre, June 29, 2008, 04:03:20 AM

Previous topic - Next topic

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

Yes it's not difficult to answer when you provide appropriate informations. Following command (assuming you're using linux) may help you.

ldd Calc3int

Make sure the output matches at both locations.
Be a part of the solution, not a part of the problem.

niteice

add -m32 to your compiler and linker flags.