Changeset 2102 for trunk


Ignore:
Timestamp:
Jun 29, 2005, 12:54:21 AM (20 years ago)
Author:
bird
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HowToBuild.txt

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2101 r2102  
    1 You didn't get this from anywhere or you own all the necessary licenses.
    21
    3 1. go to the tools/ directory and do: unzip packages/*.zip
    4 2. back to root.
     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.
    5133. Setup the environment: tools/env.cmd
    6 4. Do a 'make' to build everything - look in Makefile for
    7    subtargets (all-emx, all-gcc, all-binutils).
    8 5. The output goes into obj/OS2/DEBUG/[emx|gcc|binutils]. During the
    9    build the built stuff is installed into obj/OS2/DEBUG/builtunix/ and
    10    used since this is the head of all the search paths.
    11 6. The distributable stuff goes into bin/OS2/DEBUG/3.3.5-beta5/.
    1214
     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 TracChangeset for help on using the changeset viewer.