Go to file
rillig 07d76dc41e tests/lint: fix test for queries on platforms where char is unsigned
error: queries.c(118): missing /* expect+1: implicit conversion
    changes sign from 'char' to 'int' [Q3] */
error: queries.c(122): missing /* expect+1: implicit conversion
    changes sign from 'char' to 'int' [Q3] */
2022-09-24 19:55:44 +00:00
bin Oops, somehow managed to commit an older version where NBSH_INVOCATION 2022-09-18 17:11:33 +00:00
common proplib: Allocate sizeof(*ctx), not sizeof(struct ...). 2022-08-07 23:49:46 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto etc: Fix permissions of various editable configuration files. 2022-08-30 13:40:37 +00:00
dist/pf
distrib bump bind libraries 2022-09-23 12:19:18 +00:00
doc new unbound 2022-09-24 18:12:49 +00:00
etc MAKEDEV: make nvmm node group-writable (was readable only; group nvmm) 2022-09-21 18:55:21 +00:00
external merge conflicts and update configuration between 1.13.1 and 1.16.3 2022-09-24 18:11:42 +00:00
games fortunes: add something 2022-09-09 19:37:15 +00:00
include Add sincos{,f,l} from FreeBSD 2022-08-27 08:31:58 +00:00
lib PR/57016: Ricky Zhou: declare lastidx 2022-09-21 01:33:53 +00:00
libexec ld.elf_so(8): Make fork take a shared, not exclusive, lock. 2022-09-13 10:18:58 +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 remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin wdogctl(8): Minor tweak suggested by a passing umarell. 2022-09-23 12:35:00 +00:00
share curproc(9): Rework man page. 2022-09-22 14:02:24 +00:00
sys Remove unnecessary include of <sys/malloc.h>. 2022-09-24 18:12:42 +00:00
tests tests/lint: fix test for queries on platforms where char is unsigned 2022-09-24 19:55:44 +00:00
tools bump the netbsd version GCC to yesterday's date. 2022-07-23 19:01:18 +00:00
usr.bin make: clean up tracking of depth of nested .if directives 2022-09-24 16:13:48 +00:00
usr.sbin usbdevs(8): Misc KNF. 2022-09-13 08:34:37 +00:00
BUILDING By default, do not install any bootable images. 2022-08-22 16:50:25 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: a couple of pedantic edits 2022-09-21 22:01:56 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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