Changes between Version 12 and Version 13 of Bootstrapping
- Timestamp:
- Apr 1, 2007, 5:02:28 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Bootstrapping
v12 v13 8 8 1. Run aclocal, autoconf and automake in src/sed if needed. 9 9 1. Create and enter src/sed/obj. 10 1. Run ../configure .10 1. Run ../configure --disable-nls. 11 11 1. Run make 12 12 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]. 14 14 1. Configure and build plain GNU Make: 15 15 1. Run aclocal, autoconf and automake in src/gmake if needed. 16 16 1. Create and enter src/gmake/obj. 17 1. Run ../configure .17 1. Run ../configure --disable-nls. 18 18 1. Run make 19 19 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). … … 21 21 1. Build src/gmake using the GNU Make we just made: 22 22 1. Go to the src/gmake directory. 23 1. make -f Makefile.kmk23 1. obj/make -f Makefile.kmk 24 24 1. When it breaks fix the compiler / linker error and redo the previous step. 25 25 1. Copy out/$BUILD_TARGET.$BUILD_TARGET_ARCH/release/kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/ to kBuild/bin/$BUILD_TARGET.$BUILD_TARGET_ARCH/. … … 33 33 34 34 Note! 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.