Changes between Version 12 and Version 13 of Bootstrapping


Ignore:
Timestamp:
Apr 1, 2007, 5:02:28 AM (18 years ago)
Author:
bird
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bootstrapping

    v12 v13  
    88    1. Run aclocal, autoconf and automake in src/sed if needed.
    99    1. Create and enter src/sed/obj.
    10     1. Run ../configure.
     10    1. Run ../configure --disable-nls.
    1111    1. Run make
    1212    1. Copy config.h to src/sed/config.h.$BUILD_TARGET (or similar, see Makefile.kmk).
    13     1. Copy sed/sed[.exe] to kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/
     13    1. Copy sed/sed[.exe] to kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/kmk_sed[.exe].
    1414 1. Configure and build plain GNU Make:
    1515    1. Run aclocal, autoconf and automake in src/gmake if needed.
    1616    1. Create and enter src/gmake/obj.
    17     1. Run ../configure.
     17    1. Run ../configure --disable-nls.
    1818    1. Run make
    1919    1. Copy config.h to src/gmake/config.h.$BUILD_TARGET (or similar, see Makefile.kmk). Append empty string #defines for LOCALEDIR, LIBDIR, INCLUDEDIR and ALIASPATH (see config.h.linux).
     
    2121 1. Build src/gmake using the GNU Make we just made:
    2222    1. Go to the src/gmake directory.
    23     1. make -f Makefile.kmk
     23    1. obj/make -f Makefile.kmk
    2424    1. When it breaks fix the compiler / linker error and redo the previous step.
    2525    1. Copy out/$BUILD_TARGET.$BUILD_TARGET_ARCH/release/kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/ to kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/.
     
    3333
    3434Note! On GNU/Linux make sure you have a real yacc install. GNU bison is not sufficiently compatible with yacc to make src/ash (from NetBSD) happy.
     35
     36
     37== Trouble Shooting ==
     38
     39* On Solaris cp doesn't like being called kmk_cp. So, when building src/gmake for the first time, it might be necessary to add {{{CP=/bin/cp}}} to the make command line.
     40* The sed and GNU make configure scripts might not like the system sed. Try find a GNU sed binary or bootstrap it yourself. Copy you sed program to kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/ (without any prefix) and it'll be used instead of the system sed.