Pages

Search

gcc

(Solution) How to compile a 32 bits application using a 64 bits linux system with gcc

Hi, In order to be able to compile a 32 bits application if you are using 64 bits Linux,  -m32 modifier needs to be used. $ gcc hello.c -m32 -o hello.out will create a 32 bits application.$ gcc hello.c -m64 -o hello.out will create a 64 bits application. Regards,Rubén

(Solution) How to enable 32 bit support to a 64 bit ubuntu system

Hi, Days ago I found a problem running a linux binary. After checking everything I could, it still couldn’t be executed. I finally realized  that the binary was a 32 bit binary and my system was a 64 bit Ubuntu 17.04After some Google search I found a solution: Enable the i386 architecture (as root user): Install 32-bit libraries (as root user): Regards, Rubén