I have succeded(at least with a "hello world" app) at creating a
cygwin hosted mingw cross-compiler. I replaced the default libraries
with those of the windows ce sdk for the ppc x86 emulator, and am
using a set of modified header. I am using this as a precursor to
creating toolchain for window ce pda (BE300).
When i run my "hello world" app inside the ppc emulator, a console is
first loaded before the GUI MessageBox.
I have tried using the -windows, -Wl,-subsystem,windows switches for
creating GUI applications, but to no avail. I can not seem to get rid
of the console from displaying prior to showing the message box.
My question is where exactly is the code for determining if the
application is a console mode or gui mode app. And what is the
difference in how they are linked.
P.S. If this is the wrong place for posting such question, please
direct me to where i should go.