[MISC]: Fix several compiler issues on my main build box. Some of the Unicode translations in kernel32 fail to compile, while other libraries don't build because old C library names (without the underscore) are used.

[SETUPLDR]: Unify the old setupldr settings with more recent freeldr ones. Also fixes missing _udiv/mod functions on my build.

svn path=/trunk/; revision=48825
This commit is contained in:
Sir Richard 2010-09-20 06:30:21 +00:00
parent 9c6c2c7c45
commit 56738210e7
6 changed files with 10 additions and 7 deletions

View file

@ -17,4 +17,8 @@
<library>cportlib</library>
<library>rtl</library>
<library>libcntpr</library>
<group linkerset="ld">
<linkerflag>-static</linkerflag>
<linkerflag>-lgcc</linkerflag>
</group>
</module>

View file

@ -5,13 +5,6 @@
<include base="ntoskrnl">include</include>
<define name="_NTHAL_" />
<define name="FREELDR_REACTOS_SETUP" />
<group compilerset="gcc">
<compilerflag>-ffreestanding</compilerflag>
<compilerflag>-fno-builtin</compilerflag>
<compilerflag>-fno-inline</compilerflag>
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
<compilerflag>-Os</compilerflag>
</group>
<file>bootmgr.c</file>
<directory name="inffile">
<file>inffile.c</file>

View file

@ -15,6 +15,8 @@
<define name="UNW_FLAG_UHANDLER">2</define>
<define name="UNW_FLAG_CHAININFO">3</define>
</if>
<define name="lseek">_lseek</define>
<define name="read">_read</define>
<file>coff.c</file>
<file>cpu_i386.c</file>
<file>cpu_ppc.c</file>

View file

@ -9,6 +9,10 @@
<define name="EOVERFLOW">75</define>
<include base="libmpg123">.</include>
<include base="ReactOS">include/reactos/libs/libmpg123</include>
<!-- FIXME: workarounds until we have a proper oldnames library -->
<define name="lseek">_lseek</define>
<define name="read">_read</define>
<define name="strdup">_strdup</define>
<file>compat.c</file>
<file>dct64.c</file>
<file>dct64_i386.c</file>