Go to file
christos f3812c2b53 Add an ifdef test 2020-03-08 17:21:52 +00:00
bin Add some commas. 2020-02-26 07:14:47 +00:00
common Implement workaround for IBM405 Errata 77 (aka CPU_210), where 2020-03-01 23:23:36 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Add a libm dependency 2020-03-04 17:30:40 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Fix sets 2020-03-08 15:21:15 +00:00
doc Add libcbor, libfido2, pam-u2f 2020-03-03 00:41:42 +00:00
etc sun2 kernel is restricted to ~2MB due to bootloader. 2020-03-08 06:23:18 +00:00
external regen for mknative and all platforms. there are a few things 2020-03-07 22:26:16 +00:00
extsrc
games Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album. 2020-02-22 19:03:04 +00:00
include Revert previous 2020-03-01 22:08:17 +00:00
lib Fix broken printf(3) %d output for numbers more than two digits, e.g., 2020-03-08 06:30:06 +00:00
libexec PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends 2020-03-04 01:21:17 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue Redo the sshsk_sign() stuff properly, but putting the helper in libssh.so 2020-03-01 20:59:52 +00:00
sbin New sentence, new line. Bump date for previous. 2020-02-24 11:59:33 +00:00
share correct documentation for options TFTPROOT 2020-03-07 23:17:47 +00:00
sys PR kern/55020: dbregs_dr?_dont_inherit_lwp test cases fail on real hardware 2020-03-08 17:04:45 +00:00
tests Add an ifdef test 2020-03-08 17:21:52 +00:00
tools LLVM doesn't use term.h, so don't check for it when probing here either. 2020-02-21 15:00:44 +00:00
usr.bin Recognize {if{,n}def,elfif{,n}def,else,endif} only at the beginning of the 2020-03-08 00:04:11 +00:00
usr.sbin Remove note that has been incorrect for a while. 2020-03-06 20:07:26 +00:00
BUILDING
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