Go to file
rillig 388550b026 lib: remove CONSTCOND comment
Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.
2022-04-19 20:32:14 +00:00
bin Introduce a new macro JNUM to replace the idiom jp-jobtab+1 2022-04-18 06:02:27 +00:00
common libc/atomic: Fix membars in __atomic_load/store_* stubs. 2022-04-09 23:38:57 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto libcrypto: remove lint hack for __int128 2022-04-15 23:21:33 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib make: only switch to POSIX mode if '.POSIX:' is the first line 2022-04-18 15:06:27 +00:00
doc new OpenSSH 2022-04-15 14:02:08 +00:00
etc fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
external Unlock vnode for VOP_IOCTL(). 2022-04-16 07:56:45 +00:00
extsrc
games fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
include err.h: dead once is dead enough 2022-01-06 00:16:47 +00:00
lib lib: remove CONSTCOND comment 2022-04-19 20:32:14 +00:00
libexec fix various typos in comments. 2022-04-17 21:24:52 +00:00
regress fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
share fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
sys Typo in comment. avoinds -> avoids 2022-04-19 09:25:38 +00:00
tests lint: do not warn about converting (1234567L & 0xFF) to unsigned char 2022-04-19 20:08:52 +00:00
tools Disconnect 'tools/lib{elf,dwarf}' from the build. 2022-04-18 19:46:35 +00:00
usr.bin lint: do not warn about converting (1234567L & 0xFF) to unsigned char 2022-04-19 20:08:52 +00:00
usr.sbin fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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