Make sure you are using x86_64 Ubuntu system.
sudo apt-get install build-essential gcc-multilib
Step 2 :
Suppose you are using x86_64 system and want to compile a x86 version software.
gcc -m32 test.c -o test
file test
Thats all! See you.
sudo apt-get install build-essential gcc-multilib
gcc -m32 test.c -o test
file test
0 komentar:
Posting Komentar