Go to file
christos e3f8cbd510 move debugging code after the NULL check. 2020-03-12 19:36:33 +00:00
bin Add some commas. 2020-02-26 07:14:47 +00:00
common For kernel, rename ffs to __ffssi2 rather than having a weak symbol. 2020-03-10 08:15:44 +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 Add new netbsd32 quota modules to sets lists 2020-03-12 15:04:13 +00:00
doc update GCC entry for 7.5.0 and 8.4.0. 2020-03-11 10:11:53 +00:00
etc Add tests for missing libc catalog entries 2020-03-08 22:08:46 +00:00
external Handle fds that are pointing to routing sockets. If the fd has access to 2020-03-12 19:35:11 +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 curses: use perror rather than err in initscr 2020-03-12 15:50:11 +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 move debugging code after the NULL check. 2020-03-12 19:36:33 +00:00
tests Fix typo 2020-03-12 18:08:54 +00:00
tools update date for GCC 8.4.0 import. 2020-03-11 10:07:01 +00:00
usr.bin Add an enabled bit to keep track of the parent state (if we are ignoring 2020-03-09 17:27:03 +00:00
usr.sbin The (unused) md_pre_disklabel() function needs to return success, otherwise 2020-03-09 17:10:31 +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 note GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +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