source: branches/libc-0.6/HowToBuild.txt@ 3102

Last change on this file since 3102 was 2423, checked in by bird, 20 years ago

test! test! who am I, can I commit? test! test!

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1$Id: HowToBuild.txt 2423 2005-10-17 19:23:45Z bird $
2
3Tree Preparation
4-----------------
5
61. Check out the tree / Unpack the source and tools zip into an empty tree
7 It is possible to use the netlabs CVS for src/emx.
82. Prepare the tools:
9 a) From tools/ directory and do:
10 unzip packages/*.zip
11 b) Copy / unzip the gcc installation to tools/x86.os2/gcc/.
12 c) Rename tools/x86.os2/gcc/usr to tools/x86.os2/gcc/staged.
13 d) Execute tools/x86.os2/gcc/staged/lib/MakeOmfLibs.cmd.
143. Setup the environment: tools/env.cmd
15
16
17
18Building
19--------
20
21Make sure you have setup up the environment, see 3. above.
22
23Use 'make' from the root directory to build things. The default target
24is called 'quick' and will to a quick build of everything assuming that
25gcc and libs level is pretty much the same as the one you're building.
26
27When doing this kind of build, we install the subcomponent as they are
28built into 'obj/OS2/DEBUG/builtunix' and uses them for the building the
29rest. The builtunix directory is at the head of all paths setup by the
30env.cmd script.
31
32When everything has been built, it is installed into
33bin/OS2/DEBUG/3.3.5-beta5/ (or whatever the release is set to).
34
35
36Other common targets are:
37 'double-quick' - used for releases. do two cycles of 'quick'.
38 'emx' - builds emx
39 'emx-quick-libs' - libraries
40 'emx-quick-libs-install' - installs into builtunix
41 'emx-quick-rest' - toolchain
42 'emx-quick-rest-install' - installs into builtunix
43 'binutils-quick' - builds binutils
44 'binutils-quick-installstage' - installs into builtunix
45 'gcc-quick' - builds gcc
46 'gcc-quick-installstage' - installs into builtunix
47 'gcc' - bootstraps gcc (might be broken)
48
49See Makefile for full reference on these and other targets.
50
Note: See TracBrowser for help on using the repository browser.