- Let's get back to one RTL library for now, because:

* 36761 just separated the library, but all hacks remain in the tree.
 * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library.
 * I couldn't reach consensuss with developers about either method.
 * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries (which were not removed, including RtlpGetMode, which remained), there is no reason to waste time for compiling RTL twice without benefits.

svn path=/trunk/; revision=36980
This commit is contained in:
Aleksey Bragin 2008-10-26 12:16:04 +00:00
parent a15056faf9
commit b46e8cc18b
6 changed files with 101 additions and 114 deletions

View file

@ -11,7 +11,7 @@
<library>freeldr_main</library> <library>freeldr_main</library>
<library>rossym</library> <library>rossym</library>
<library>cmlib</library> <library>cmlib</library>
<library>rtl_kmode</library> <library>rtl</library>
<library>libcntpr</library> <library>libcntpr</library>
<linkerflag>-static</linkerflag> <linkerflag>-static</linkerflag>
<linkerflag>-lgcc</linkerflag> <linkerflag>-lgcc</linkerflag>

View file

@ -9,7 +9,7 @@
<library>setupldr_main</library> <library>setupldr_main</library>
<library>rossym</library> <library>rossym</library>
<library>cmlib</library> <library>cmlib</library>
<library>rtl_kmode</library> <library>rtl</library>
<library>libcntpr</library> <library>libcntpr</library>
<linkerflag>-nostartfiles</linkerflag> <linkerflag>-nostartfiles</linkerflag>
<linkerflag>-nostdlib</linkerflag> <linkerflag>-nostdlib</linkerflag>

View file

@ -11,7 +11,7 @@
<define name="_DISABLE_TIDENTS" /> <define name="_DISABLE_TIDENTS" />
<define name="_NTOSKRNL_" /> <define name="_NTOSKRNL_" />
<define name="__NO_CTYPE_INLINES" /> <define name="__NO_CTYPE_INLINES" />
<library>rtl_umode</library> <library>rtl</library>
<library>ntdllsys</library> <library>ntdllsys</library>
<library>libcntpr</library> <library>libcntpr</library>
<library>pseh</library> <library>pseh</library>

View file

@ -1,98 +0,0 @@
<?xml version="1.0"?>
<include base="rtl">.</include>
<define name="_NTOSKRNL_" />
<define name="__NO_CTYPE_INLINES" />
<define name="NO_RTL_INLINES" />
<define name="_NTSYSTEM_" />
<define name="_NTDLLBUILD_" />
<if property="ARCH" value="i386">
<directory name="i386">
<file>debug_asm.S</file>
<file>except_asm.s</file>
<file>except.c</file>
<file>random_asm.S</file>
<file>rtlswap.S</file>
<file>rtlmem.s</file>
<file>res_asm.s</file>
<file>thread.c</file>
</directory>
</if>
<if property="ARCH" value="powerpc">
<directory name="powerpc">
<file>debug.c</file>
<file>except.c</file>
<file>interlocked.c</file>
<file>rtlmem.s</file>
<file>rtlswap.s</file>
<file>thread.c</file>
</directory>
</if>
<if property="ARCH" value="arm">
<directory name="arm">
<file>debug_asm.S</file>
</directory>
<file>mem.c</file>
<file>memgen.c</file>
</if>
<directory name="austin">
<file>avl.c</file>
<file>tree.c</file>
</directory>
<file>access.c</file>
<file>acl.c</file>
<file>actctx.c</file>
<file>atom.c</file>
<file>bitmap.c</file>
<file>bootdata.c</file>
<file>compress.c</file>
<file>condvar.c</file>
<file>crc32.c</file>
<file>critical.c</file>
<file>dbgbuffer.c</file>
<file>debug.c</file>
<file>dos8dot3.c</file>
<file>encode.c</file>
<file>env.c</file>
<file>error.c</file>
<file>exception.c</file>
<file>generictable.c</file>
<file>handle.c</file>
<file>heap.c</file>
<file>image.c</file>
<file>interlck.c</file>
<file>message.c</file>
<file>largeint.c</file>
<file>luid.c</file>
<file>network.c</file>
<file>nls.c</file>
<file>path.c</file>
<file>ppb.c</file>
<file>process.c</file>
<file>propvar.c</file>
<file>qsort.c</file>
<file>random.c</file>
<file>rangelist.c</file>
<file>registry.c</file>
<file>res.c</file>
<file>resource.c</file>
<file>sd.c</file>
<file>security.c</file>
<file>slist.c</file>
<file>sid.c</file>
<file>sprintf.c</file>
<file>srw.c</file>
<file>swprintf.c</file>
<file>splaytree.c</file>
<file>thread.c</file>
<file>time.c</file>
<file>timezone.c</file>
<file>timerqueue.c</file>
<file>unicode.c</file>
<file>unicodeprefix.c</file>
<file>vectoreh.c</file>
<file>version.c</file>
<file>wait.c</file>
<file>workitem.c</file>
<pch>rtl.h</pch>

View file

@ -1,15 +1,100 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd"> <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
<module name="rtl" type="staticlibrary">
<define name="_NTOSKRNL_" />
<define name="__NO_CTYPE_INLINES" />
<define name="NO_RTL_INLINES" />
<define name="_NTSYSTEM_" />
<define name="_NTDLLBUILD_" />
<include base="rtl">.</include>
<if property="ARCH" value="i386">
<directory name="i386">
<file>debug_asm.S</file>
<file>except_asm.s</file>
<file>except.c</file>
<file>random_asm.S</file>
<file>rtlswap.S</file>
<file>rtlmem.s</file>
<file>res_asm.s</file>
<file>thread.c</file>
</directory>
</if>
<if property="ARCH" value="powerpc">
<directory name="powerpc">
<file>debug.c</file>
<file>except.c</file>
<file>interlocked.c</file>
<file>rtlmem.s</file>
<file>rtlswap.s</file>
<file>thread.c</file>
</directory>
</if>
<if property="ARCH" value="arm">
<directory name="arm">
<file>debug_asm.S</file>
</directory>
<file>mem.c</file>
<file>memgen.c</file>
</if>
<directory name="austin">
<file>avl.c</file>
<file>tree.c</file>
</directory>
<group xmlns:xi="http://www.w3.org/2001/XInclude"> <file>access.c</file>
<module name="rtl_umode" type="staticlibrary"> <file>acl.c</file>
<xi:include href="rtl-common.rbuild" /> <file>actctx.c</file>
</module> <file>atom.c</file>
<file>bitmap.c</file>
<module name="rtl_kmode" type="staticlibrary"> <file>bootdata.c</file>
<xi:include href="rtl-common.rbuild" /> <file>compress.c</file>
</module> <file>condvar.c</file>
<file>crc32.c</file>
<!-- dummy module to enable <include base="rtl"> --> <file>critical.c</file>
<module name="rtl" type="staticlibrary" /> <file>dbgbuffer.c</file>
</group> <file>debug.c</file>
<file>dos8dot3.c</file>
<file>encode.c</file>
<file>env.c</file>
<file>error.c</file>
<file>exception.c</file>
<file>generictable.c</file>
<file>handle.c</file>
<file>heap.c</file>
<file>image.c</file>
<file>interlck.c</file>
<file>message.c</file>
<file>largeint.c</file>
<file>luid.c</file>
<file>network.c</file>
<file>nls.c</file>
<file>path.c</file>
<file>ppb.c</file>
<file>process.c</file>
<file>propvar.c</file>
<file>qsort.c</file>
<file>random.c</file>
<file>rangelist.c</file>
<file>registry.c</file>
<file>res.c</file>
<file>resource.c</file>
<file>sd.c</file>
<file>security.c</file>
<file>slist.c</file>
<file>sid.c</file>
<file>sprintf.c</file>
<file>srw.c</file>
<file>swprintf.c</file>
<file>splaytree.c</file>
<file>thread.c</file>
<file>time.c</file>
<file>timezone.c</file>
<file>timerqueue.c</file>
<file>unicode.c</file>
<file>unicodeprefix.c</file>
<file>vectoreh.c</file>
<file>version.c</file>
<file>wait.c</file>
<file>workitem.c</file>
<pch>rtl.h</pch>
</module>

View file

@ -26,7 +26,7 @@
<library>hal</library> <library>hal</library>
<library>pseh</library> <library>pseh</library>
<library>cmlib</library> <library>cmlib</library>
<library>rtl_kmode</library> <library>rtl</library>
<library>rossym</library> <library>rossym</library>
<library>libcntpr</library> <library>libcntpr</library>
<library>kdcom</library> <library>kdcom</library>