Skip to content

Pe32 Executable -console- X86-64 For Ms Windows Today

cl /O1 /GS- /Gs9999999 minimal_console.c /link /SUBSYSTEM:CONSOLE /MACHINE:X64 /ENTRY:main Check output:

When a file analyzer (like file command, Detect It Easy, or PEiD) shows: pe32 executable -console- x86-64 for ms windows

It breaks down as:

dumpbin /headers minimal_console.exe | findstr "PE32+" Output: cl /O1 /GS- /Gs9999999 minimal_console