[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 22 additions and 19 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>
+2
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>
+6 -6
View File
@@ -80,9 +80,9 @@ STRINGTABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
LOCALE_SABBREVMONTHNAME7 "七月"
LOCALE_SABBREVMONTHNAME8 "八月"
LOCALE_SABBREVMONTHNAME9 "九月"
LOCALE_SABBREVMONTHNAME10 "十月"
LOCALE_SABBREVMONTHNAME11 "十一月"
LOCALE_SABBREVMONTHNAME12 "十二月"
LOCALE_SABBREVMONTHNAME10 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME11 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME12 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME13 ""
LOCALE_SCOUNTRY "Taiwan"
LOCALE_SCURRENCY "NT$"
@@ -116,9 +116,9 @@ STRINGTABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
LOCALE_SMONTHNAME7 "七月"
LOCALE_SMONTHNAME8 "八月"
LOCALE_SMONTHNAME9 "九月"
LOCALE_SMONTHNAME10 "十月"
LOCALE_SMONTHNAME11 "十一月"
LOCALE_SMONTHNAME12 "十二月"
LOCALE_SMONTHNAME10 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME11 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME12 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME13 ""
LOCALE_SMONTHOUSANDSEP ","
LOCALE_SNAME "zh-TW"
+6 -6
View File
@@ -80,9 +80,9 @@ STRINGTABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_MACAU
LOCALE_SABBREVMONTHNAME7 "七月"
LOCALE_SABBREVMONTHNAME8 "八月"
LOCALE_SABBREVMONTHNAME9 "九月"
LOCALE_SABBREVMONTHNAME10 "十月"
LOCALE_SABBREVMONTHNAME11 "十一月"
LOCALE_SABBREVMONTHNAME12 "十二月"
LOCALE_SABBREVMONTHNAME10 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME11 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME12 "BROKEN PLEASE FIX"
LOCALE_SABBREVMONTHNAME13 ""
LOCALE_SCOUNTRY "Macau S.A.R."
LOCALE_SCURRENCY "P"
@@ -116,9 +116,9 @@ STRINGTABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_MACAU
LOCALE_SMONTHNAME7 "七月"
LOCALE_SMONTHNAME8 "八月"
LOCALE_SMONTHNAME9 "九月"
LOCALE_SMONTHNAME10 "十月"
LOCALE_SMONTHNAME11 "十一月"
LOCALE_SMONTHNAME12 "十二月"
LOCALE_SMONTHNAME10 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME11 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME12 "BROKEN PLEASE FIX"
LOCALE_SMONTHNAME13 ""
LOCALE_SMONTHOUSANDSEP ","
LOCALE_SNAME "zh-MO"
+4
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>