mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
a0309ee531
We now set -lgcc for all builds (to get built-in division helpers), and also -static (not to import libgcc.dll -- it seems -static isn't needed on x86, but it is on ARM). We hackfix kdcom to use the FeroUart base address -- this driver won't be used for a while, but we need to have it built. Now binaries are being created properly (previously kernel was 15MB and importing .DLL files...). FreeLDR output: FreeLoader v3.0 for ARM Bootargs: rdbase=0x2000000 rdsize=0x1400000 Detecting Hardware... Loading... Reading NTOSKRNL.EXE Reading BOOTVID.DLL Reading HAL.DLL Reading HAL.DLL Reading c_1252.nls Reading c_437.nls Reading l_intl.nls Reading scsiport.sys svn path=/trunk/; revision=32207
40 lines
1.1 KiB
Ruby
40 lines
1.1 KiB
Ruby
<?xml version="1.0"?>
|
|
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
|
|
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<xi:include href="config-arm.rbuild">
|
|
<xi:fallback>
|
|
<xi:include href="config-arm.template.rbuild" />
|
|
</xi:fallback>
|
|
</xi:include>
|
|
|
|
<xi:include href="ReactOS-generic.rbuild" />
|
|
|
|
<define name="_ARM_" />
|
|
<define name="__arm__" />
|
|
|
|
<property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles -shared"/>
|
|
|
|
<if property="OPTIMIZE" value="1">
|
|
<compilerflag>-Os</compilerflag>
|
|
<compilerflag>-ftracer</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="2">
|
|
<compilerflag>-Os</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="3">
|
|
<compilerflag>-O1</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="4">
|
|
<compilerflag>-O2</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="5">
|
|
<compilerflag>-O3</compilerflag>
|
|
</if>
|
|
|
|
<compilerflag>-Wno-attributes</compilerflag>
|
|
<compilerflag>-fno-strict-aliasing</compilerflag>
|
|
<linkerflag>-s</linkerflag>
|
|
<linkerflag>-lgcc</linkerflag>
|
|
<linkerflag>-static</linkerflag>
|
|
</project>
|