www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - the command : "-L/exet:nt/su:windows"

reply inter9988 <inter9988_member pathlink.com> writes:
-L/exet:nt/su:windows

the "exet:" command is not in the documentation. 
exetype was there. or is this just a short form for it?

under dmc documentation in dmc website. we have :
-Nt Use old template name mangling scheme (obsolete) 
-NT Set code segment name 
its not there also. so what does it actually stands for. 


/* i was trying to compile this. 

#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Hello World!", "Note", MB_OK);
return 0;
}

*/

and i do : dmc source.c 

and i got a dos console behind the message box that came out. 

so i search in forum. if anyone had experienced this prob in their win32 build
using dmc. and i ended up with :

/* this message was from the forum :

Sat, 2 Aug 2003 15:39:39 +0000 (UTC) Mr.E <Mr.E_member xx pathlink.com> writes:
Try the following compiler switch: -L/exet:nt/su:windows
This works fine for me.
Good Luck!

How can you get rid of that console window (the place where the printf's and
scanf's go) when you're creating an exclusive GUI app that doesn't need one
?
*/ and i got a messageBox without the dos console behind it. :) thanks a lot to the message writer, Mr. E ; and of course thanks a lot more to the people who made the dmc possible. so, where do i get the info for compiler commands ? (-L/exet:nt/su:windows) or at least what those nt, su, exet, ':', means. &/or how they are used. forgive me if i missed the online documentation. but i couldnt find it.
Feb 17 2006
parent Bertel Brander <bertel post4.tele.dk> writes:
inter9988 wrote:
 
 so, where do i get the info for compiler commands ? (-L/exet:nt/su:windows)
The -L switches are parsed to the linker, so you have to find them on the linker page: http://www.digitalmars.com/ctg/ctgLinkSwitches.html -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's mine - Bertel
Feb 17 2006