Go to file
riastradh 55d2c2b3f5 Move another file from drm2 to common for <linux/kernel.h>. 2020-02-16 07:29:48 +00:00
bin When expanding a here-doc (NXHERE - the type with an unquoted end delim) 2020-02-13 05:19:05 +00:00
common Some boot blocks too big now, only compare in big chunks if !_STANDALONE. 2020-01-29 09:18:26 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Open /dev/urandom with O_CLOEXEC. 2020-02-15 23:19:37 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib etc and modules packages should be preserve 2020-02-15 03:27:58 +00:00
doc binutils-2.34 and gdb-9.1 out. 2020-02-13 12:23:39 +00:00
etc Use the configured IP6ADDRCTL_CMD for stopping also. 2020-02-14 12:12:07 +00:00
external Teach zfs to revoke vnodes the usual way. 2020-02-15 19:03:15 +00:00
extsrc
games games/hack: Suppress -Werror=stringop-truncation error. 2020-02-08 00:59:55 +00:00
include move P_tmpdir from "/var/tmp/" to "/tmp/". 2019-12-13 20:25:16 +00:00
lib Enhance the pthread(3) + malloc(3) init model 2020-02-15 23:59:30 +00:00
libexec Specify NOLIBCSANITIZER for the ELF loader 2020-02-09 09:11:59 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue 1. Remove all the special handling of variables (-d -p -P -s -S) that 2019-12-29 18:26:16 +00:00
sbin Fix a thinko 2020-02-12 09:43:19 +00:00
share grammar 2020-02-13 22:48:11 +00:00
sys Move another file from drm2 to common for <linux/kernel.h>. 2020-02-16 07:29:48 +00:00
tests Improve around {audioctl_,}open_multiuser. 2020-02-14 13:20:48 +00:00
tools don't try to include the library if we are building it. 2020-01-17 16:50:51 +00:00
usr.bin meta_compat_parent check for USE_FILEMON 2020-02-12 16:50:37 +00:00
usr.sbin Finish conversion to generic partitioning backend 2020-02-10 16:08:58 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git