Compiling a Win32 GUI app (without a console) using MinGW and Eclipse

前端 未结 2 2016
滥情空心
滥情空心 2020-12-01 11:05

I\'m using the eclipse IDE with MinGW as my compiler, to make a Win32 GUI app.

I want to get rid of the console, but compiling the program with -mwindows

2条回答
  •  失恋的感觉
    2020-12-01 11:41

    try --machine-windows option. it helps me when I build asm code:

    nasm -f win64 hello.asm
    gcc hello.obj --machine-windows -o hello
    

提交回复
热议问题