hi
just confusing about -nodefaultlib and -nostartupfiles , i've used them with DEV-CPP without problem
but codeblocks says unrecognized option '-nostartupfiles'
this is the program
#include <windows.h>
extern "C" void WinMainCRTStartup()
{
MessageBox(NULL,"samll exe"," ",NULL);
}
any idea
The GCC option is -nostartfiles
Here you go: http://gcc.gnu.org/onlinedocs/gcc/Option-Index.html
thanks it works :D
the only thing i missed in C::B (infact its mingw related ) is adressing local variables with intel asm syntax