Convert .o file to .exe

Dman picture Dman · May 10, 2010 · Viewed 34.8k times · Source

Is it possible to convert an object file .o that was created from a .c source code to .exe? And if it is possible is there a direct command using gcc?

Answer

sepp2k picture sepp2k · May 10, 2010
gcc foo.o -o foo.exe