compuphase / Black-Magic-Probe-Book

A guide plus associated utilities for the Black Magic Probe.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows: Console window stays open for a long time after closing BMTrace

sidprice opened this issue · comments

The console window should not be there in the first place. These are GUI applications. However, the linker sets a flag in the PE header that it is a console application.
Are you using Makefile.mingw? I will need to look at the linker options.

Yes, I am using Makefile.mingw

Commit a2142e8 has an extra linker flag for MingW to avoid a console window on GUIs.

@compuphase Thank you, looks good and BMTrace shuts down much more quickly without the console window.