Go to file
christos c6e7fca7f4 Document and set a default for KERNEL_DIR 2020-04-04 23:54:06 +00:00
bin Don't depend on common declarations. 2020-04-03 18:11:29 +00:00
common Teach dk(4) about ZFS. 2020-03-30 08:36:09 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto restore previous unsigned change. 2020-03-29 14:58:22 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib one more netsmb reference. 2020-04-04 22:08:33 +00:00
doc smbfs is no more 2020-04-04 16:25:17 +00:00
etc Infrastructure for putting kernel+modules in /netbsd/kernel and 2020-04-04 19:50:53 +00:00
external Always include the sampling member so that the struct size is consistent. 2020-04-04 21:00:03 +00:00
extsrc
games Disks can sense vibes, DTrace confirms it. 2020-04-02 05:55:02 +00:00
include s/impliment/implement/ in comment. 2020-04-02 15:30:25 +00:00
lib Move the note about sys_errlist[] users to COMPATIBILITY, and strengthen it. 2020-04-04 21:29:54 +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 smb is no more. 2020-04-04 17:57:16 +00:00
sbin Avoid common symbols for fsck_lfs. 2020-04-03 19:36:32 +00:00
share Document and set a default for KERNEL_DIR 2020-04-04 23:54:06 +00:00
sys Switch to type generic PRIu macros 2020-04-04 23:22:12 +00:00
tests Add support for lazily generating a "global thread ID" for a LWP. This 2020-04-04 20:20:12 +00:00
tools rename libctf to libgnuctf 2020-04-04 01:34:53 +00:00
usr.bin Avoid depending on common symbols. 2020-04-03 19:53:41 +00:00
usr.sbin We don't have smbfs anymore. 2020-04-04 17:05:06 +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 Allow path components that start with ~ 2020-03-28 20:13:13 +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