Dec
13
2006

How to compile a 32-bit application using gcc on the 64-bit Linux version

I had to compile a 32-bit application using GNU gcc on the 64-bit version Linux.
Luckily gcc man page directed me to -m32 and -m64 option. These options generate code for a 32-bit or 64-bit environments.
=> The 32-bit environment sets int, long and pointer to 32 bits and generates code that runs on [...]

How to compile a 32-bit application using gcc on the 64-bit Linux version

Originally from nixCraft by nixcraft

Leave a Comment

Name (required)

Email (required)

Website

Comments

2006 (c) Tech Tips, Using the ReviewSaurus Theme : Powered by WordPress