source: trunk/HowToBuild.txt@ 2242

Last change on this file since 2242 was 2102, checked in by bird, 20 years ago

* empty log message *

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