mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[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:
parent
9c6c2c7c45
commit
56738210e7
6 changed files with 10 additions and 7 deletions
|
@ -17,4 +17,8 @@
|
|||
<library>cportlib</library>
|
||||
<library>rtl</library>
|
||||
<library>libcntpr</library>
|
||||
<group linkerset="ld">
|
||||
<linkerflag>-static</linkerflag>
|
||||
<linkerflag>-lgcc</linkerflag>
|
||||
</group>
|
||||
</module>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue