User forums > General (but related to Code::Blocks)

C::B/mingw don't create console nor window subsystem

(1/1)

lopidas:
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.

BlueHazzard:
I don't understand your question, but check Project->Properties->Build Targets->Type.
Here you can set the type of your application.

lopidas:
native app doesn't work

lopidas:
It is mwindows option.

demone:
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

Navigation

[0] Message Index

Go to full version