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
That's all! See you.
Open Source is a great idea and it has changed the world!
Open Source forever ....
While you do not know attack, how can you know about defense? (未知攻,焉知防?)
Do BAD things .... for the RIGHT reasons -- OWASP ZAP
It is easier to port a shell than a shell script. -- Larry Wall
Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris. -- Larry Wall
为天地立心, 为生民立命, 为往圣继绝学, 为万世开太平。 -- 王炜
sudo apt-get install build-essential gcc-multilib
gcc -m32 test.c -o test
file test