Go to file
lukem 7021f3fda6 nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk> 2020-06-13 11:28:24 +00:00
bin Fix typo 2020-06-11 13:08:07 +00:00
common Change previous to only apply when building with clang. 2020-06-12 00:02: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 fix wrong size addition (Andrew Cagney) 2020-06-05 15:19:08 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Remove in-kernel handling of Router Advertisements 2020-06-12 11:04:44 +00:00
doc Note removal of RA handling. 2020-06-12 11:07:43 +00:00
etc Revert accidental part of prior 2020-06-12 14:12:20 +00:00
external external/gpl3/gcc: Suppress -Werror=maybe-uninitialized 2020-06-12 14:37:51 +00:00
extsrc
games Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead of 2020-06-07 15:41:03 +00:00
include Remove bogus tests for 64-bit i386 and SuperH 2020-06-04 11:21:16 +00:00
lib lib/libpam: Fix the possible -Werror=stringop-truncation 2020-06-12 01:20:32 +00:00
libexec libexec/httpd: Fix the possible -Werror=stringop-truncation 2020-06-07 23:33:02 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Update for proplib(3) API changes. 2020-06-11 13:49:57 +00:00
share Use more markup. 2020-06-12 20:58:43 +00:00
sys COMPAT_90 doesn't necessarily imply COMPAT_50. So include compat in6_var.h in 2020-06-13 06:05:08 +00:00
tests Remove in-kernel handling of Router Advertisements 2020-06-12 11:04:44 +00:00
tools nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk> 2020-06-13 11:28:24 +00:00
usr.bin usr.bin/make: remove redundant parentheses around return 2020-06-13 07:48:59 +00:00
usr.sbin ndp: Sync usage and SYNPOSIS with reality 2020-06-12 21:08:02 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +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 Mention cleaning needed in LIBISPRIVATE directories 2020-06-01 14:46:04 +00:00
build.sh Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +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