mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00

- Update targets to pentium to take advantage of cmpxhg8b when possible. (ROS won't run on 386/486 anyway). - Fix some compiler problems when building with -O3. svn path=/trunk/; revision=26274
102 lines
2.9 KiB
Ruby
102 lines
2.9 KiB
Ruby
<?xml version="1.0"?>
|
|
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<!--
|
|
This file is a template used as a starting point for compile-time
|
|
configuration of ReactOS. Make a copy of this file and name it config.rbuild.
|
|
Then change the options in config.rbuild. If you don't have a config.rbuild file,
|
|
then the defaults in this file, config.template.rbuild, will be used instead.
|
|
|
|
Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
|
|
options can obtain any value specified in the comment before it.
|
|
-->
|
|
|
|
|
|
<!--
|
|
Architecture to build for. Specify one of:
|
|
i386
|
|
-->
|
|
<property name="ARCH" value="i386" />
|
|
|
|
<!--
|
|
Sub-architecture to build for. Specify one of:
|
|
xbox
|
|
-->
|
|
<property name="SARCH" value="" />
|
|
|
|
|
|
<!--
|
|
Which CPU ReactOS should be optimized for. Specify one of:
|
|
i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
|
|
k6-2
|
|
|
|
See GCC manual for more CPU names and which CPUs GCC can optimize for.
|
|
-->
|
|
<property name="OARCH" value="pentium" />
|
|
|
|
|
|
<!--
|
|
OPTIMIZE what level do you want ReactOS to be optimized at
|
|
this setting does not work if GDB is set
|
|
0 = off
|
|
1 = Normal compiling recommended, is default setting in official build and debug build
|
|
|
|
warning : 2,3,4,5 is not tested on ReactOS. Change at own risk.
|
|
|
|
2 = gcc -Oz with -mpreferred-stack-boundary=2
|
|
3 = gcc -O1 with -mpreferred-stack-boundary=2
|
|
4 = gcc -O2 with -mpreferred-stack-boundary=2
|
|
5 = gcc -O3 with -mpreferred-stack-boundary=2
|
|
-->
|
|
<property name="OPTIMIZE" value="1" />
|
|
|
|
|
|
<!--
|
|
Whether to compile for an uniprocessor or multiprocessor machine.
|
|
-->
|
|
<property name="MP" value="0" />
|
|
|
|
|
|
<!--
|
|
Whether to compile in the integrated kernel debugger.
|
|
-->
|
|
<property name="KDBG" value="0" />
|
|
|
|
|
|
<!--
|
|
Whether to compile for debugging. No compiler optimizations will be
|
|
performed.
|
|
-->
|
|
<property name="DBG" value="1" />
|
|
|
|
|
|
<!--
|
|
Whether to compile for debugging with GDB. If you don't use GDB, don't
|
|
enable this.
|
|
-->
|
|
<property name="GDB" value="0" />
|
|
|
|
|
|
<!--
|
|
Whether to compile apps/libs with features covered software patents or not.
|
|
If you live in a country where software patents are valid/apply, don't
|
|
enable this (except they/you purchased a license from the patent owner).
|
|
This settings is disabled (0) by default.
|
|
-->
|
|
<property name="NSWPAT" value="0" />
|
|
|
|
<!--
|
|
Whether to compile with NT-compatible LPC Semantics. This should always be 1.
|
|
-->
|
|
<property name="NTLPC" value="1" />
|
|
|
|
<!--
|
|
Whether to compile with the KD protocol. This will disable support for KDBG
|
|
as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
|
|
This is currently not fully working, and requires kdcom from Windows 2003 or
|
|
TinyKRNL. Booting into debug mode with this flag enabled will result in a
|
|
failure to enter GUI mode. Do not enable unless you know what you're doing.
|
|
-->
|
|
<property name="_WINKD_" value="0" />
|
|
|
|
</rbuild>
|