Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: lopidas on May 25, 2013, 03:09:09 pm

Title: C::B/mingw don't create console nor window subsystem
Post by: lopidas on May 25, 2013, 03:09:09 pm
Dev c++ had this option as Project Options->Compiler->Linker->Do not create console window
How can I do this in C::B. Which linker option should I use? I think it will be some Xlinker style option.

Some additional info: I use nostartlibs and s options becouse I am trying to find out how are things like argument pushing, function calls and ++ -- operators done in EXE. I decompress them in 7z. If you have some materials about this it will really help me.
Title: Re: C::B/mingw don't create console nor window subsystem
Post by: BlueHazzard on May 25, 2013, 08:16:39 pm
I don't understand your question, but check Project->Properties->Build Targets->Type.
Here you can set the type of your application.
Title: Re: C::B/mingw don't create console nor window subsystem
Post by: lopidas on May 26, 2013, 06:38:54 pm
native app doesn't work
Title: Re: C::B/mingw don't create console nor window subsystem
Post by: lopidas on May 26, 2013, 06:48:16 pm
It is mwindows option.
Title: Re: C::B/mingw don't create console nor window subsystem
Post by: demone on June 01, 2013, 01:19:51 pm
Type: ConsoleApplication ==> show console
Type: GUI Application ==> does not show console

simple

it is not native application

If you want more control (like showing up a console window at run-time) you then need OS-specific libraries, or cross-platform libraries like NCURSES