linux - generating 64 bit code on 32bit debian system -


could please describe how have installed gcc-multilib , g++-multilib on 32bit debian machine generate 64 bit code?

i installed gcc-4.7.2 on 32bit debian system(and installed binutils-2.23). when try compile simple hello world program -m64 flag

# gcc -m64 hello.c 

i getting following error message:

"hello.c:1:0: sorry, unimplemented: 64-bit mode not compiled in" . 

please tell me steps generate 64bit code on 32bit debian system.

you need re-install gcc option in configure.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -