2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / build / README.platforms
1 A platform makefile should define the following variables:
2
3 PLATFORM_DEBUG_FLAGS
4         The flags to pass to the C# compiler to generate appropriate
5         debug information
6
7 PLATFORM_MCS_FLAGS
8         Flags that are always passed to the C# compiler
9
10 PLATFORM_RUNTIME
11         The system runtime for executing CLR programs. Blank on Win32,
12         probably $(RUNTIME) (the Mono runtime) on everything else.
13
14 PLATFORM_CORLIB
15         The name of the system's corlib. 'mscorlib.dll' for windows,
16         corlib.dll for mono-based.
17
18 PLATFORM_MAKE_CORLIB_CMP
19         Define it to something nonempty if corlib_cmp.dll should be built
20         on this platform. Only should be done if the platform provides its
21         own non-Mono runtime that we can compare corlibs with.
22
23 PLATFORM_TWEAK_CORLIB_SOURCES
24         A command to futz around with the sources to corlib.dll. See linux.make
25         and win32.make for examples. Should be 'cat' unless you know what you're
26         doing.
27
28 PLATFORM_CHANGE_SEPARATOR_CMD
29         A command to change filename separators given on stdin. Leave undefined
30         if Unixy filenames will work. See win32.make.
31
32 BOOTSTRAP_MCS
33         The C# compiler used to compile mcs/mcs.exe, and possibly other
34         assemblies if the user is doing a standalone build (that is, not
35         a bootstrap).
36
37 hidden_prefix, hidden_suffix
38         Prefix and suffix for hidden/temporary files. Unused right now, I think.
39
40 platform-check:
41         A target to make sure that we can build on this platform.