head	1.24;
access;
symbols
	netbsd-11-0-RC4:1.24
	netbsd-11-0-RC3:1.24
	netbsd-11-0-RC2:1.24
	netbsd-11-0-RC1:1.24
	perseant-exfatfs-base-20250801:1.24
	netbsd-11:1.24.0.2
	netbsd-11-base:1.24
	netbsd-10-1-RELEASE:1.23
	perseant-exfatfs-base-20240630:1.23
	perseant-exfatfs:1.23.0.10
	perseant-exfatfs-base:1.23
	netbsd-8-3-RELEASE:1.21
	netbsd-9-4-RELEASE:1.22
	netbsd-10-0-RELEASE:1.23
	netbsd-10-0-RC6:1.23
	netbsd-10-0-RC5:1.23
	netbsd-10-0-RC4:1.23
	netbsd-10-0-RC3:1.23
	netbsd-10-0-RC2:1.23
	netbsd-10-0-RC1:1.23
	netbsd-10:1.23.0.8
	netbsd-10-base:1.23
	netbsd-9-3-RELEASE:1.22
	cjep_sun2x-base1:1.23
	cjep_sun2x:1.23.0.6
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	netbsd-9-2-RELEASE:1.22
	cjep_staticlib_x:1.23.0.4
	cjep_staticlib_x-base:1.23
	netbsd-9-1-RELEASE:1.22
	phil-wifi-20200421:1.23
	phil-wifi-20200411:1.23
	is-mlppp:1.23.0.2
	is-mlppp-base:1.23
	phil-wifi-20200406:1.23
	netbsd-8-2-RELEASE:1.21
	netbsd-9-0-RELEASE:1.22
	netbsd-9-0-RC2:1.22
	netbsd-9-0-RC1:1.22
	phil-wifi-20191119:1.23
	netbsd-9:1.22.0.6
	netbsd-9-base:1.22
	phil-wifi-20190609:1.22
	netbsd-8-1-RELEASE:1.21
	netbsd-8-1-RC1:1.21
	pgoyette-compat-merge-20190127:1.22
	pgoyette-compat-20190127:1.22
	pgoyette-compat-20190118:1.22
	pgoyette-compat-1226:1.22
	pgoyette-compat-1126:1.22
	pgoyette-compat-1020:1.22
	pgoyette-compat-0930:1.22
	pgoyette-compat-0906:1.22
	netbsd-7-2-RELEASE:1.20
	pgoyette-compat-0728:1.22
	netbsd-8-0-RELEASE:1.21
	phil-wifi:1.22.0.4
	phil-wifi-base:1.22
	pgoyette-compat-0625:1.22
	netbsd-8-0-RC2:1.21
	pgoyette-compat-0521:1.22
	pgoyette-compat-0502:1.22
	pgoyette-compat-0422:1.22
	netbsd-8-0-RC1:1.21
	pgoyette-compat-0415:1.22
	pgoyette-compat-0407:1.22
	pgoyette-compat-0330:1.22
	pgoyette-compat-0322:1.22
	pgoyette-compat-0315:1.22
	netbsd-7-1-2-RELEASE:1.20
	pgoyette-compat:1.22.0.2
	pgoyette-compat-base:1.22
	netbsd-7-1-1-RELEASE:1.20
	matt-nb8-mediatek:1.21.0.6
	matt-nb8-mediatek-base:1.21
	perseant-stdc-iso10646:1.21.0.4
	perseant-stdc-iso10646-base:1.21
	netbsd-8:1.21.0.2
	netbsd-8-base:1.21
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.14
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	pgoyette-localcount-20170320:1.20
	netbsd-7-1:1.20.0.12
	netbsd-7-1-RELEASE:1.20
	netbsd-7-1-RC2:1.20
	netbsd-7-nhusb-base-20170116:1.20
	bouyer-socketcan:1.20.0.10
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.20
	netbsd-7-1-RC1:1.20
	pgoyette-localcount-20161104:1.20
	netbsd-7-0-2-RELEASE:1.20
	localcount-20160914:1.20
	netbsd-7-nhusb:1.20.0.8
	netbsd-7-nhusb-base:1.20
	pgoyette-localcount-20160806:1.20
	pgoyette-localcount-20160726:1.20
	pgoyette-localcount:1.20.0.6
	pgoyette-localcount-base:1.20
	netbsd-7-0-1-RELEASE:1.20
	netbsd-7-0:1.20.0.4
	netbsd-7-0-RELEASE:1.20
	netbsd-7-0-RC3:1.20
	netbsd-7-0-RC2:1.20
	netbsd-7-0-RC1:1.20
	netbsd-5-2-3-RELEASE:1.6
	netbsd-5-1-5-RELEASE:1.6
	netbsd-6-0-6-RELEASE:1.9
	netbsd-6-1-5-RELEASE:1.9
	netbsd-7:1.20.0.2
	netbsd-7-base:1.20
	yamt-pagecache-base9:1.19
	yamt-pagecache-tag8:1.9.2.2
	netbsd-6-1-4-RELEASE:1.9
	netbsd-6-0-5-RELEASE:1.9
	tls-earlyentropy:1.18.0.2
	tls-earlyentropy-base:1.20
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.18
	riastradh-drm2-base3:1.18
	netbsd-6-1-3-RELEASE:1.9
	netbsd-6-0-4-RELEASE:1.9
	netbsd-5-2-2-RELEASE:1.6
	netbsd-5-1-4-RELEASE:1.6
	netbsd-6-1-2-RELEASE:1.9
	netbsd-6-0-3-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.6
	netbsd-5-1-3-RELEASE:1.6
	netbsd-6-1-1-RELEASE:1.9
	riastradh-drm2-base2:1.15
	riastradh-drm2-base1:1.15
	riastradh-drm2:1.15.0.2
	riastradh-drm2-base:1.15
	netbsd-6-1:1.9.0.12
	netbsd-6-0-2-RELEASE:1.9
	netbsd-6-1-RELEASE:1.9
	netbsd-6-1-RC4:1.9
	netbsd-6-1-RC3:1.9
	agc-symver:1.14.0.4
	agc-symver-base:1.14
	netbsd-6-1-RC2:1.9
	netbsd-6-1-RC1:1.9
	yamt-pagecache-base8:1.14
	netbsd-5-2:1.6.0.36
	netbsd-6-0-1-RELEASE:1.9
	yamt-pagecache-base7:1.13
	netbsd-5-2-RELEASE:1.6
	netbsd-5-2-RC1:1.6
	matt-nb6-plus-nbase:1.9
	yamt-pagecache-base6:1.13
	netbsd-6-0:1.9.0.10
	netbsd-6-0-RELEASE:1.9
	netbsd-6-0-RC2:1.9
	tls-maxphys:1.9.0.8
	tls-maxphys-base:1.20
	matt-nb6-plus:1.9.0.6
	matt-nb6-plus-base:1.9
	netbsd-6-0-RC1:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.9.0.4
	netbsd-6-base:1.9
	netbsd-5-1-2-RELEASE:1.6
	netbsd-5-1-1-RELEASE:1.6
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.2
	yamt-pagecache-base:1.9
	cherry-xenmp:1.7.0.4
	cherry-xenmp-base:1.7
	bouyer-quota2-nbase:1.7
	bouyer-quota2:1.7.0.2
	bouyer-quota2-base:1.7
	matt-mips64-premerge-20101231:1.7
	matt-nb5-mips64-premerge-20101231:1.6
	matt-nb5-pq3:1.6.0.34
	matt-nb5-pq3-base:1.6
	netbsd-5-1:1.6.0.32
	netbsd-5-1-RELEASE:1.6
	netbsd-5-1-RC4:1.6
	matt-nb5-mips64-k15:1.6
	netbsd-5-1-RC3:1.6
	netbsd-5-1-RC2:1.6
	netbsd-5-1-RC1:1.6
	netbsd-5-0-2-RELEASE:1.6
	matt-nb5-mips64-premerge-20091211:1.6
	matt-premerge-20091211:1.7
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.6
	matt-nb4-mips64-k7-u2a-k9b:1.6
	matt-nb5-mips64-u1-k1-k5:1.6
	matt-nb5-mips64:1.6.0.30
	netbsd-5-0-1-RELEASE:1.6
	jym-xensuspend-nbase:1.6
	netbsd-5-0:1.6.0.28
	netbsd-5-0-RELEASE:1.6
	netbsd-5-0-RC4:1.6
	netbsd-5-0-RC3:1.6
	netbsd-5-0-RC2:1.6
	jym-xensuspend:1.6.0.26
	jym-xensuspend-base:1.6
	netbsd-5-0-RC1:1.6
	netbsd-5:1.6.0.24
	netbsd-5-base:1.6
	matt-mips64-base2:1.6
	matt-mips64:1.6.0.22
	mjf-devfs2:1.6.0.20
	mjf-devfs2-base:1.6
	netbsd-4-0-1-RELEASE:1.6
	wrstuden-revivesa-base-3:1.6
	wrstuden-revivesa-base-2:1.6
	wrstuden-fixsa-newbase:1.6
	wrstuden-revivesa-base-1:1.6
	yamt-pf42-base4:1.6
	yamt-pf42-base3:1.6
	hpcarm-cleanup-nbase:1.6
	yamt-pf42-baseX:1.6
	yamt-pf42-base2:1.6
	wrstuden-revivesa:1.6.0.18
	wrstuden-revivesa-base:1.6
	yamt-pf42:1.6.0.16
	yamt-pf42-base:1.6
	keiichi-mipv6-nbase:1.6
	keiichi-mipv6:1.6.0.14
	keiichi-mipv6-base:1.6
	matt-armv6-nbase:1.6
	matt-armv6-prevmlocking:1.6
	wrstuden-fixsa-base-1:1.6
	netbsd-4-0:1.6.0.12
	netbsd-4-0-RELEASE:1.6
	cube-autoconf:1.6.0.10
	cube-autoconf-base:1.6
	netbsd-4-0-RC5:1.6
	netbsd-4-0-RC4:1.6
	netbsd-4-0-RC3:1.6
	netbsd-4-0-RC2:1.6
	netbsd-4-0-RC1:1.6
	matt-armv6:1.6.0.8
	matt-armv6-base:1.6
	matt-mips64-base:1.6
	hpcarm-cleanup:1.6.0.6
	hpcarm-cleanup-base:1.6
	netbsd-3-1-1-RELEASE:1.3.6.1
	netbsd-3-0-3-RELEASE:1.3
	wrstuden-fixsa:1.6.0.4
	wrstuden-fixsa-base:1.6
	abandoned-netbsd-4-base:1.5
	abandoned-netbsd-4:1.5.0.2
	netbsd-3-1:1.3.6.1.0.2
	netbsd-3-1-RELEASE:1.3.6.1
	netbsd-3-0-2-RELEASE:1.3
	netbsd-3-1-RC4:1.3.6.1
	netbsd-3-1-RC3:1.3.6.1
	netbsd-3-1-RC2:1.3.6.1
	netbsd-3-1-RC1:1.3.6.1
	netbsd-4:1.6.0.2
	netbsd-4-base:1.6
	netbsd-3-0-1-RELEASE:1.3
	netbsd-3-0:1.3.0.10
	netbsd-3-0-RELEASE:1.3
	netbsd-3-0-RC6:1.3
	netbsd-3-0-RC5:1.3
	netbsd-3-0-RC4:1.3
	netbsd-3-0-RC3:1.3
	netbsd-3-0-RC2:1.3
	netbsd-3-0-RC1:1.3
	netbsd-2-0-3-RELEASE:1.3
	netbsd-2-1:1.3.0.8
	netbsd-2-1-RELEASE:1.3
	netbsd-2-1-RC6:1.3
	netbsd-2-1-RC5:1.3
	netbsd-2-1-RC4:1.3
	netbsd-2-1-RC3:1.3
	netbsd-2-1-RC2:1.3
	netbsd-2-1-RC1:1.3
	netbsd-2-0-2-RELEASE:1.3
	netbsd-3:1.3.0.6
	netbsd-3-base:1.3
	netbsd-2-0-1-RELEASE:1.3
	netbsd-2:1.3.0.4
	netbsd-2-base:1.3
	netbsd-2-0-RELEASE:1.3
	netbsd-2-0-RC5:1.3
	netbsd-2-0-RC4:1.3
	netbsd-2-0-RC3:1.3
	netbsd-2-0-RC2:1.3
	netbsd-2-0-RC1:1.3
	netbsd-2-0:1.3.0.2
	netbsd-2-0-base:1.3;
locks; strict;
comment	@# @;


1.24
date	2025.07.21.05.27.20;	author mrg;	state Exp;
branches;
next	1.23;
commitid	ulQKHwdl1tTkCz3G;

1.23
date	2019.09.30.08.40.20;	author mrg;	state Exp;
branches
	1.23.10.1;
next	1.22;
commitid	fqdyS0ekJdotR0FB;

1.22
date	2018.02.02.01.02.41;	author mrg;	state Exp;
branches
	1.22.4.1;
next	1.21;
commitid	gEW0HzHL87R8LdpA;

1.21
date	2017.05.21.15.28.42;	author riastradh;	state Exp;
branches;
next	1.20;
commitid	qFvwLLy2KgFGNgSz;

1.20
date	2014.06.14.20.49.37;	author mrg;	state Exp;
branches;
next	1.19;
commitid	ZgC9LkzhaXWI3xEx;

1.19
date	2014.04.22.13.20.58;	author joerg;	state Exp;
branches;
next	1.18;
commitid	WAxh9gUMjkkDhGxx;

1.18
date	2014.02.26.09.54.34;	author mrg;	state Exp;
branches
	1.18.2.1;
next	1.17;
commitid	tog8WsTJJZVqTAqx;

1.17
date	2013.11.28.12.08.57;	author mrg;	state Exp;
branches;
next	1.16;
commitid	g6vqF0uXbhXot2fx;

1.16
date	2013.10.21.09.02.08;	author skrll;	state Exp;
branches;
next	1.15;
commitid	8AIDaT1L9llwJ8ax;

1.15
date	2013.04.18.05.20.00;	author skrll;	state Exp;
branches;
next	1.14;

1.14
date	2012.12.26.19.11.27;	author martin;	state Exp;
branches;
next	1.13;

1.13
date	2012.09.27.11.29.49;	author skrll;	state Exp;
branches;
next	1.12;

1.12
date	2012.09.25.11.12.16;	author skrll;	state Exp;
branches;
next	1.11;

1.11
date	2012.09.25.06.55.10;	author skrll;	state Exp;
branches;
next	1.10;

1.10
date	2012.09.16.15.09.55;	author skrll;	state Exp;
branches;
next	1.9;

1.9
date	2011.09.21.02.15.18;	author mrg;	state Exp;
branches
	1.9.2.1
	1.9.8.1;
next	1.8;

1.8
date	2011.06.21.04.11.12;	author mrg;	state Exp;
branches;
next	1.7;

1.7
date	2009.09.08.07.08.03;	author skrll;	state Exp;
branches
	1.7.4.1;
next	1.6;

1.6
date	2006.08.23.20.52.15;	author mrg;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.17.17.34.30;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	2005.10.29.20.43.35;	author martin;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.13.03.01.21;	author simonb;	state Exp;
branches
	1.3.4.1
	1.3.6.1;
next	1.2;

1.2
date	2004.02.12.18.57.08;	author skrll;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.27.15.00.54;	author mrg;	state Exp;
branches;
next	;

1.23.10.1
date	2025.08.02.05.58.23;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.22.4.1
date	2020.04.13.08.05.34;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.18.2.1
date	2014.08.10.06.57.41;	author tls;	state Exp;
branches;
next	;
commitid	Sc4pKLzElweYCMLx;

1.9.2.1
date	2012.10.30.19.00.12;	author yamt;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2013.01.23.00.06.37;	author yamt;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2014.05.22.11.42.30;	author yamt;	state Exp;
branches;
next	;
commitid	kBu7extK0Pp6MwBx;

1.9.8.1
date	2012.11.20.03.02.56;	author tls;	state Exp;
branches;
next	1.9.8.2;

1.9.8.2
date	2013.02.25.00.30.30;	author tls;	state Exp;
branches;
next	1.9.8.3;

1.9.8.3
date	2013.06.23.06.28.58;	author tls;	state Exp;
branches;
next	1.9.8.4;
commitid	OnlO1cBgtQRcIHUw;

1.9.8.4
date	2014.08.20.00.04.53;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.7.4.1
date	2011.06.23.14.20.42;	author cherry;	state Exp;
branches;
next	;

1.3.4.1
date	2006.02.26.21.39.36;	author riz;	state Exp;
branches;
next	;

1.3.6.1
date	2006.02.20.13.41.58;	author tron;	state Exp;
branches;
next	;


desc
@@


1.24
log
@add a note about "isl".
@
text
@$NetBSD: README.mknative,v 1.23 2019/09/30 08:40:20 mrg Exp $

This file describes how to bootstrap the native toolchain on a new NetBSD
platform (and how to update the new toolchain files, if needed).  These
files may be generated on a cross-compile host without problems.

NOTE:  DO NOT RUN "mknative" BY HAND!  It requires the Makefile in this
directory to set up certain environments first.

Since libc's features change over time, the config.h files can change as a
result; thus the instructions below are the same no matter whether
bootstrapping on a cross or native host.  This is important: even on a
"native" host, you should bootstrap the toolchain by building from an
up-to-date source tree to a $DESTDIR using the exact same instructions.

In these notes, MACHINE is the $MACHINE of the target.  These files can be
cross-generated.  Though a $MACHINE_ARCH all uses the same config files, you
must pick a specific $MACHINE so that building the requisite bits below will
work.

0. Note that example paths like src/external/gpl3/gcc/lib/libgcc/arch will
   really be src/external/gpl3/gcc.old/lib/libgcc/arch for the previous GCC.

1. Set MKMAINTAINERTOOLS=yes in mk.conf.  (Needed so that src/tools/gettext
   gets built, eliciting proper HAVE_*GETTEXT* defns in config.h files.)

2. Build and install a cross toolchain (via "build.sh -m MACHINE tools").
   Note that while PR #47353 is not fixed, you can not use the -O option
   to build.sh. Use -M instead. (The differences are in layout and pathname
   prefixes in the object directory pointed to by each option.)

3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=8 bootstrap-libgcc".

   This will create just enough glue in src/external/gpl3/gcc/lib/libgcc/arch
   to make it possible to build, based on the toolchain built in
   ${.OBJDIR}/build.
   Because the files generated in this step contain things like
   -DCROSS_COMPILE, they are not suitable for committing.  Step 8 below
   will regenerate the "proper" libgcc config files.

4. At top level, do
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=8", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=8".
   (Note: replace 8 [for GCC 8.x] with the appropriate version you are going
   to mknative-for, the MKGCC=no prevents the standard makefiles from picking
   up any gcc version info automatically)

5. In src/lib/csu, do
   "nbmake-MACHINE dependall". and "nbmake-MACHINE install".

6. In src/external/gpl3/gcc/lib/libgcc, do
   "nbmake-MACHINE obj includes dependall install".

7. In each of src/external/lgpl3/gmp/lib/libgmp,
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl3/mpc/lib/libmpc,
   and src/external/mit/isl, do "nbmake-MACHINE obj dependall".

8. In src/lib, do
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=8".

   Optionally, all of the following may be set in the environment to reduce
   the amount of code needed to build at this step.  Basically, it must be
   possible for static binaries to build and base system libs to exist so
   that "configure" can do its job for the target--these MK* options omit
   the rest for this stage of the build. 

   MKLINT=no
   MKPROFILE=no
   MKSHARE=no
   MKRUMP=no

9. In src/tools/gcc, do "nbmake-MACHINE native-gcc".

   This will do a full configury in ${.OBJDIR}/.native that is a "Canadian"
   cross toolchain (--build reflects the host platform, but --host and
   --target are the target).  The result is a tree that would build a
   native-to-NetBSD compiler on a cross host, and mknative pulls glue data
   from this.

10. Try out a full build using "nbmake-MACHINE"; the result should include
   a native compiler.

11. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.23
log
@remove HAVE_GCC == 6 support, add HAVE_GCC == 8 support
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.22 2018/02/02 01:02:41 mrg Exp $
d55 2
a56 2
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl3/mpc/lib/libmpc
   do "nbmake-MACHINE obj dependall".
@


1.23.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.24 2025/07/21 05:27:20 mrg Exp $
d55 2
a56 2
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl3/mpc/lib/libmpc,
   and src/external/mit/isl, do "nbmake-MACHINE obj dependall".
@


1.22
log
@convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.21 2017/05/21 15:28:42 riastradh Exp $
d32 1
a32 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=6 bootstrap-libgcc".
d42 3
a44 3
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=6", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=6".
   (Note: replace 6 [for GCC 6.x] with the appropriate version you are going
d59 1
a59 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=6".
@


1.22.4.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
$NetBSD$
d32 1
a32 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=8 bootstrap-libgcc".
d42 3
a44 3
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=8", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=8".
   (Note: replace 8 [for GCC 8.x] with the appropriate version you are going
d59 1
a59 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=8".
@


1.21
log
@Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.20 2014/06/14 20:49:37 mrg Exp $
d32 1
a32 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=48 bootstrap-libgcc".
d42 5
a46 5
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=48", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=48".
   (Note: replace 48 [for gcc 4.8.x] with the appropriate version you are
   going to mknative-for, the MKGCC=no prevents the standard makefiles from
   picking up any gcc version info automatically)
d59 1
a59 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=48".
@


1.20
log
@remove remaining makefile support for GCC < 45 that i found.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.19 2014/04/22 13:20:58 joerg Exp $
a66 1
   MKCRYPTO=no
@


1.19
log
@Retire USE_COMPILERCRTSTUFF=yes.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.18 2014/02/26 09:54:34 mrg Exp $
d32 1
a32 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=45 bootstrap-libgcc".
d42 3
a44 3
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=45", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=45".
   (Note: replace 45 [for gcc 4.5.x] with the appropriate version you are
d59 1
a59 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=45".
@


1.18
log
@prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.17 2013/11/28 12:08:57 mrg Exp $
d51 1
a51 5
6. If the platform sets USE_COMPILERCRTSTUFF=yes, then in
   src/external/gpl3/gcc/lib/crtstuff/ do
   "nbmake-MACHINE obj dependall install"

7. In src/external/gpl3/gcc/lib/libgcc, do
d54 1
a54 1
8. In each of src/external/lgpl3/gmp/lib/libgmp,
d58 1
a58 1
9. In src/lib, do
d73 1
a73 1
10. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d81 1
a81 1
11. Try out a full build using "nbmake-MACHINE"; the result should include
d84 1
a84 1
12. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.18.2.1
log
@Rebase.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.20 2014/06/14 20:49:37 mrg Exp $
d32 1
a32 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=48 bootstrap-libgcc".
d42 3
a44 3
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=48", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=48".
   (Note: replace 48 [for gcc 4.8.x] with the appropriate version you are
d51 5
a55 1
6. In src/external/gpl3/gcc/lib/libgcc, do
d58 1
a58 1
7. In each of src/external/lgpl3/gmp/lib/libgmp,
d62 2
a63 2
8. In src/lib, do
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=48".
d77 1
a77 1
9. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d85 1
a85 1
10. Try out a full build using "nbmake-MACHINE"; the result should include
d88 1
a88 1
11. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.17
log
@update to MPC 1.0.1.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.16 2013/10/21 09:02:08 skrll Exp $
d21 3
@


1.16
log
@Improve wording and remove typos
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.15 2013/04/18 05:20:00 skrll Exp $
d56 1
a56 1
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl2/mpc/lib/libmpc
@


1.15
log
@Use --with-{mpc,mpfr,gmp}-{lib,include} to avoid the LIBISPRIVATE=no
dance in mknative and avoid poluting the DESTDIR.

Update the README to reflect this.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.14 2012/12/26 19:11:27 martin Exp $
d26 2
a27 2
   to build.sh. Use -M instead. (The difference is only a minor layout/
   pathname prefixe in the object directory pointed to bei either option.)
@


1.14
log
@Note MKRUMP=no and the need to specify HAVE_GCC= explicitly when using
MKGCC=no. Also point at but number 47353.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.13 2012/09/27 11:29:49 skrll Exp $
d29 1
a29 1
3. In src/tools/gcc, do "nbmake-MACHINE bootstrap-libgcc".
d57 1
a57 5
   do "nbmake-MACHINE obj includes LIBISPRIVATE=no", and
   "nbmake-MACHINE dependall install".

   It is important to have LIBISPRIVATE=no while doing includes as this
   installs a header file that is not part of standard build.
@


1.13
log
@More tweaks
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.12 2012/09/25 11:12:16 skrll Exp $
d25 3
d39 5
a43 2
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no".
d64 1
a64 1
   "nbmake-MACHINE dependall install MKGCC=no".
d76 1
@


1.12
log
@No need to do "obj includes" twice.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.11 2012/09/25 06:55:10 skrll Exp $
d36 2
a37 1
   "nbmake-MACHINE obj do-distrib-dirs includes MKGCC=no MKBINUTILS=no".
d39 2
a40 2
5. In src/external/gpl3/gcc/lib/libgcc, do
   "nbmake-MACHINE obj includes dependall install MKPIC=no".
d46 1
a46 1
7. In src/lib/csu, do
d58 1
a58 1
   "nbmake-MACHINE obj includes dependall install MKGCC=no".
@


1.11
log
@More tweaks. I didn't manage to complete a mknative from scratch run, but
this is a step in the right direction.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.10 2012/09/16 15:09:55 skrll Exp $
d51 1
a51 1
   "nbmake-MACHINE obj includes dependall install".
@


1.10
log
@Attempt to describe the gcc 4.5 method (untested)
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.9 2011/09/21 02:15:18 mrg Exp $
d36 1
a36 1
   "nbmake-MACHINE do-distrib-dirs obj includes MKGCC=no MKBINUTILS=no".
d38 2
a39 1
5. In src/external/gpl3/gcc/lib/libgcc, do "nbmake-MACHINE obj includes".
d42 2
a43 1
   src/external/gpl3/gcc/lib/crtstuff/ do "nbmake-MACHINE dependall install"
d45 2
a46 4
7. In each of src/lib/csu, src/external/gpl3/gcc/lib/libgcc,
   src/external/lgpl3/gmp/lib/libgmp,  src/external/lgpl3/mpfr/lib/libmpfr,
   src/external/lgpl2/mpc/lib/libmpc and src/lib,
   do "nbmake-MACHINE includes dependall install".
d48 10
a57 1
   It is important to have LIBISPRIVATE=no while doing src/external/lgpl[23]/*
d63 1
a63 1
   the rest for this stage of the build.
d70 1
a70 1
8. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d78 1
a78 1
9. Try out a full build using "nbmake-MACHINE"; the result should include
d81 1
a81 1
10. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.9
log
@add libgomp support.  needed by "cc -fopenmp", that koffice 2.3 wants to use.
@
text
@d1 1
a1 3
$NetBSD: README.mknative,v 1.8 2011/06/21 04:11:12 mrg Exp $

XXX THIS FILE DOES NOT DESCRIBE GCC 4.5 METHODS PROPERLY XXX
d28 3
a30 2
   This will create just enough glue in src/gnu/lib/libgcc4/arch to make it
   possible to build, based on the toolchain built in ${.OBJDIR}/build.
d38 4
a41 1
5. In src/gnu/lib/libgcc4, do "nbmake-MACHINE obj includes".
d43 4
a46 2
6. If the platform sets USE_COMPILERCRTSTUFF=yes, then in src/gnu/lib/crtstuff4
   do "nbmake-MACHINE dependall install"
d48 1
a48 2
7. In each of src/lib/csu, src/gnu/lib/libgcc4, and src/lib,
   do "nbmake-MACHINE dependall install".
@


1.9.8.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 3
a3 1
$NetBSD: README.mknative,v 1.13 2012/09/27 11:29:49 skrll Exp $
d30 2
a31 3
   This will create just enough glue in src/external/gpl3/gcc/lib/libgcc/arch
   to make it possible to build, based on the toolchain built in
   ${.OBJDIR}/build.
d37 1
a37 12
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no".

5. In src/lib/csu, do
   "nbmake-MACHINE dependall". and "nbmake-MACHINE install".

6. If the platform sets USE_COMPILERCRTSTUFF=yes, then in
   src/external/gpl3/gcc/lib/crtstuff/ do
   "nbmake-MACHINE obj dependall install"

7. In src/external/gpl3/gcc/lib/libgcc, do
   "nbmake-MACHINE obj includes dependall install".
d39 1
a39 4
8. In each of src/external/lgpl3/gmp/lib/libgmp,
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl2/mpc/lib/libmpc
   do "nbmake-MACHINE obj includes LIBISPRIVATE=no", and
   "nbmake-MACHINE dependall install".
d41 2
a42 2
   It is important to have LIBISPRIVATE=no while doing includes as this
   installs a header file that is not part of standard build.
d44 2
a45 2
9. In src/lib, do
   "nbmake-MACHINE dependall install MKGCC=no".
d51 1
a51 1
   the rest for this stage of the build. 
d58 1
a58 1
10. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d66 1
a66 1
11. Try out a full build using "nbmake-MACHINE"; the result should include
d69 1
a69 1
12. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.9.8.2
log
@resync with head
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.9.8.1 2012/11/20 03:02:56 tls Exp $
a24 3
   Note that while PR #47353 is not fixed, you can not use the -O option
   to build.sh. Use -M instead. (The difference is only a minor layout/
   pathname prefixe in the object directory pointed to bei either option.)
d36 2
a37 5
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=45", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=45".
   (Note: replace 45 [for gcc 4.5.x] with the appropriate version you are
   going to mknative-for, the MKGCC=no prevents the standard makefiles from
   picking up any gcc version info automatically)
d58 1
a58 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=45".
a69 1
   MKRUMP=no
@


1.9.8.3
log
@resync from head
@
text
@d1 1
a1 1
$NetBSD$
d29 1
a29 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=45 bootstrap-libgcc".
d57 5
a61 1
   do "nbmake-MACHINE obj dependall".
@


1.9.8.4
log
@Rebase to HEAD as of a few days ago.
@
text
@a20 3
0. Note that example paths like src/external/gpl3/gcc/lib/libgcc/arch will
   really be src/external/gpl3/gcc.old/lib/libgcc/arch for the previous GCC.

d26 2
a27 2
   to build.sh. Use -M instead. (The differences are in layout and pathname
   prefixes in the object directory pointed to by each option.)
d29 1
a29 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=48 bootstrap-libgcc".
d39 3
a41 3
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=48", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=48".
   (Note: replace 48 [for gcc 4.8.x] with the appropriate version you are
d48 5
a52 1
6. In src/external/gpl3/gcc/lib/libgcc, do
d55 2
a56 2
7. In each of src/external/lgpl3/gmp/lib/libgmp,
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl3/mpc/lib/libmpc
d59 2
a60 2
8. In src/lib, do
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=48".
d74 1
a74 1
9. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d82 1
a82 1
10. Try out a full build using "nbmake-MACHINE"; the result should include
d85 1
a85 1
11. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.9.2.1
log
@sync with head
@
text
@d1 3
a3 1
$NetBSD: README.mknative,v 1.9 2011/09/21 02:15:18 mrg Exp $
d30 2
a31 3
   This will create just enough glue in src/external/gpl3/gcc/lib/libgcc/arch
   to make it possible to build, based on the toolchain built in
   ${.OBJDIR}/build.
d37 1
a37 12
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no".

5. In src/lib/csu, do
   "nbmake-MACHINE dependall". and "nbmake-MACHINE install".

6. If the platform sets USE_COMPILERCRTSTUFF=yes, then in
   src/external/gpl3/gcc/lib/crtstuff/ do
   "nbmake-MACHINE obj dependall install"

7. In src/external/gpl3/gcc/lib/libgcc, do
   "nbmake-MACHINE obj includes dependall install".
d39 1
a39 4
8. In each of src/external/lgpl3/gmp/lib/libgmp,
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl2/mpc/lib/libmpc
   do "nbmake-MACHINE obj includes LIBISPRIVATE=no", and
   "nbmake-MACHINE dependall install".
d41 2
a42 2
   It is important to have LIBISPRIVATE=no while doing includes as this
   installs a header file that is not part of standard build.
d44 2
a45 2
9. In src/lib, do
   "nbmake-MACHINE dependall install MKGCC=no".
d51 1
a51 1
   the rest for this stage of the build. 
d58 1
a58 1
10. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d66 1
a66 1
11. Try out a full build using "nbmake-MACHINE"; the result should include
d69 1
a69 1
12. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.9.2.2
log
@sync with head
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.9.2.1 2012/10/30 19:00:12 yamt Exp $
a24 3
   Note that while PR #47353 is not fixed, you can not use the -O option
   to build.sh. Use -M instead. (The difference is only a minor layout/
   pathname prefixe in the object directory pointed to bei either option.)
d36 2
a37 5
   "nbmake-MACHINE obj do-distrib-dirs MKGCC=no MKBINUTILS=no HAVE_GCC=45", and
   "nbmake-MACHINE includes HAVE_GCC= MKGCC=no MKBINUTILS=no HAVE_GCC=45".
   (Note: replace 45 [for gcc 4.5.x] with the appropriate version you are
   going to mknative-for, the MKGCC=no prevents the standard makefiles from
   picking up any gcc version info automatically)
d58 1
a58 1
   "nbmake-MACHINE dependall install MKGCC=no HAVE_GCC=45".
a69 1
   MKRUMP=no
@


1.9.2.3
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.9.2.2 2013/01/23 00:06:37 yamt Exp $
a20 3
0. Note that example paths like src/external/gpl3/gcc/lib/libgcc/arch will
   really be src/external/gpl3/gcc.old/lib/libgcc/arch for the previous GCC.

d26 2
a27 2
   to build.sh. Use -M instead. (The differences are in layout and pathname
   prefixes in the object directory pointed to by each option.)
d29 1
a29 1
3. In src/tools/gcc, do "nbmake-MACHINE HAVE_GCC=45 bootstrap-libgcc".
d48 5
a52 1
6. In src/external/gpl3/gcc/lib/libgcc, do
d55 7
a61 3
7. In each of src/external/lgpl3/gmp/lib/libgmp,
   src/external/lgpl3/mpfr/lib/libmpfr, src/external/lgpl3/mpc/lib/libmpc
   do "nbmake-MACHINE obj dependall".
d63 1
a63 1
8. In src/lib, do
d78 1
a78 1
9. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d86 1
a86 1
10. Try out a full build using "nbmake-MACHINE"; the result should include
d89 1
a89 1
11. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.8
log
@initial port to HAVE_GCC = 45.  mknative-gcc parts are from me
and are largely untested, most of the rest is from chuq.
@
text
@d1 3
a3 1
$NetBSD: README.mknative,v 1.7 2009/09/08 07:08:03 skrll Exp $
@


1.7
log
@Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.6 2006/08/23 20:52:15 mrg Exp $
d39 2
a40 1
6. In src/gnu/lib/crtstuff4 do "nbmake-MACHINE depend all install"
d42 2
a43 2
7. In each of src/lib/csu, src/gnu/lib/libgcc4, src/lib/libdes, and src/lib,
   do "nbmake-MACHINE all install".
@


1.7.4.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.8 2011/06/21 04:11:12 mrg Exp $
d39 1
a39 2
6. If the platform sets USE_COMPILERCRTSTUFF=yes, then in src/gnu/lib/crtstuff4
   do "nbmake-MACHINE dependall install"
d41 2
a42 2
7. In each of src/lib/csu, src/gnu/lib/libgcc4, and src/lib,
   do "nbmake-MACHINE dependall install".
@


1.6
log
@point out the GCC4 dirs not the GCC3 dirs.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.5 2006/02/17 17:34:30 tv Exp $
d35 1
a35 1
   "nbmake-MACHINE do-distrib-dirs obj includes MKGCC=no MKBFD=no".
@


1.5
log
@I haven't touched the mknative stuff since 2002.  Take my name off of the
readmes, so I'm not implied as a point of contact.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.4 2005/10/29 20:43:35 martin Exp $
d28 1
a28 1
   This will create just enough glue in src/gnu/lib/libgcc3/arch to make it
d37 1
a37 1
5. In src/gnu/lib/libgcc3, do "nbmake-MACHINE obj includes".
d39 1
a39 1
6. In src/gnu/lib/crtstuff3 do "nbmake-MACHINE depend all install"
d41 1
a41 1
7. In each of src/lib/csu, src/gnu/lib/libgcc3, src/lib/libdes, and src/lib,
@


1.4
log
@We use gcc's crtstuff now - update this acordingly (thanks to
Nick Hudson for instructions)
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.3 2004/02/13 03:01:21 simonb Exp $
a66 2

- tv@@NetBSD.org
@


1.3
log
@Fix some paths.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.2 2004/02/12 18:57:08 skrll Exp $
d31 1
a31 1
   -DCROSS_COMPILE, they are not suitable for committing.  Step 7 below
d39 3
a41 1
6. In each of src/lib/csu, src/gnu/lib/libgcc3, src/lib/libdes, and src/lib,
d55 1
a55 1
7. In src/tools/gcc, do "nbmake-MACHINE native-gcc".
d63 1
a63 1
8. Try out a full build using "nbmake-MACHINE"; the result should include
d66 1
a66 1
9. If all is well, commit the glue files added to src/gnu/{lib,usr.bin}/*.
@


1.3.4.1
log
@Pull up following revision(s) (requested by tv in ticket #10318):
	tools/toolchain/README.mknative: revision 1.7
	tools/gcc/README.mknative: revision 1.5 via patch
I haven't touched the mknative stuff since 2002.  Take my name off of the
readmes, so I'm not implied as a point of contact.
@
text
@d1 1
a1 1
$NetBSD$
d65 2
@


1.3.6.1
log
@Pull up following revision(s) (requested by tv in ticket #1174):
	tools/toolchain/README.mknative: revision 1.7
	tools/gcc/README.mknative: revision 1.5 via patch
I haven't touched the mknative stuff since 2002.  Take my name off of the
readmes, so I'm not implied as a point of contact.
@
text
@d1 1
a1 1
$NetBSD$
d65 2
@


1.2
log
@Copy over from ../toolchain/README.mknative and update for gcc-3.3.x.
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.1 2003/07/27 15:00:54 mrg Exp $
d37 1
a37 1
5. In src/gnu/lib/libgcc3/libgcc, do "nbmake-MACHINE obj includes".
d39 2
a40 2
6. In each of src/lib/csu, src/gnu/lib/libgcc3/libgcc, src/lib/libdes, and
   src/lib, do "nbmake-MACHINE all install".
@


1.1
log
@document how to generate GCC3.3 bootstrap info with mknative
@
text
@d1 1
a1 1
$NetBSD: README.mknative,v 1.5 2003/07/26 20:24:01 salo Exp $
d3 3
d7 60
a66 1
Please see ../toolchain/README.mknative for now.
@

