How to make .exe from C for 32x bit Windows system sitting on 64x bit Linux?
When a team:
gcc -m32 app.c -o app.exe An error occurred:
In file included from app.c: 1: 0:
/usr/include/stdio.h:27:10: fatal error: bits / libc-header-start.h: No such file or directory#include
^ ~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
gcc -m32will not create an executable for Windows on Linux. Try mingw32 for building and wine to test or just put a virtual machine with Windows (free for testing). How to compile for Windows on Linux with gcc / g ++? - jfs