I tried to build the hello world program with MinIDE. But the
executable doesn't print "Hello world", i.e. it 'works', but it
doesn't do anything.
The problem seems to be the complier/linker switch -mwindows. MinIDE
generates the following lines:
gcc -s -o helloworld.exe hello.o hello.c -mwindows -O2 -Wall
gcc -mwindows -s -o hello.exe hello.o
The mwindows option is supposed to be a MinGW option. I didn't find it
in the GCC option index. Is there a description of the MinGW options?
When I manually enter the linker command without this option, i.e.
gcc -s -o hello.exe hello.o
then the executable works fine.
It works fine, too, when I remove the mwindows entry in the minide.ini
file, i.e. WIN32_FLAG=
What is the purpose of this option? Is this the correct behaviour of
Any hints would be appreciated
Get latest updates about Open Source Projects, Conferences and News.