Changes between Version 3 and Version 4 of Bootstrapping


Ignore:
Timestamp:
Sep 28, 2006, 2:24:31 PM (18 years ago)
Author:
bird
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bootstrapping

    v3 v4  
    44 1. Run kBuild/env.sh to configure the kBuild environment.
    55 1. Copy unix like tools from you system to kBuild/bin/$BUILD_TARGET_ARCH.$BUILD_TARGET/. kBuild requires all ash, cat, cp, echo, install, ln, mkdir, mv, rm and sed. The kBuild copies must be prefixed with {{{kmk_}}}. Some of these tools will be replaced later in the bootstrapping.
    6  1. If GNU Make v3.81 or later isn't availble, build plain make:
     6 1. Build plain GNU Make:
    77    1. Run aclocal, autoconf and automake in src/gmake if needed.
    88    1. Create and enter src/gmake/obj.
    99    1. Run ../configure.
    1010    1. Run make
     11    1. Copy config.h to src/gmake/config.h.$BUILD_TARGET (or similar, see Makefile.kmk).
    1112    1. We've now got our own make binary which will be used in the next step.
    12  1. Build kBuild using GNU Make:
    13     1. Run kBuild/env.sh to configure the environment properly.
    14     1. Go to the root.
     13 1. Build src/gmake using the GNU Make we just made:
     14
     15    1. Go to the src/gmake.
    1516    1. make -f Makefile.kmk
     17    1. When it breaks fix the compiler / linker error and redo the previous step.
    1618    1. Copy out/$BUILD_TARGET.$BUILD_TARGET_ARCH/debug/kBuild/bin/$BUILD_TARGET_ARCH.$BUILD_TARGET/ to kBuild/bin/$BUILD_TARGET_ARCH.$BUILD_TARGET/.
    1719 1. Build a release build using kmk (which should now be in the path):