Turn NTDLL.DLL a SUBSYSTEM_WINDOWS_CUI PE image (Casper Hornstrup suggested to use -nostartfiles, for the compilation to succeed). Modified: trunk/reactos/lib/ntdll/ntdll.xml _____
Modified: trunk/reactos/lib/ntdll/ntdll.xml --- trunk/reactos/lib/ntdll/ntdll.xml 2005-07-31 06:22:05 UTC (rev 16913) +++ trunk/reactos/lib/ntdll/ntdll.xml 2005-07-31 07:07:26 UTC (rev 16914) @@ -1,4 +1,4 @@
-<module name="ntdll" type="nativedll" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll"> +<module name="ntdll" type="win32dll" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll"> <bootstrap base="reactos/system32" /> <importlibrary definition="def/ntdll.def" /> <include base="ntdll">inc</include> @@ -11,6 +11,7 @@ <library>intrlck</library> <library>string</library> <linkerflag>-lgcc</linkerflag> + <linkerflag>-nostartfiles</linkerflag> <directory name="csr"> <file>capture.c</file> <file>lpc.c</file>