Go to file
rillig ed28212fc3 tests/make: test and explain exporting of variables 2023-11-19 09:45:19 +00:00
bin Work around a probably gcc12 bug in detecting "potentially clobbered" 2023-10-20 22:08:52 +00:00
common In _prop_string_instantiate(), when we de-dup a non-MUTABLE string, make 2023-11-17 21:29:33 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Put back module from 9.5p1 2023-10-26 15:10:14 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib Set the timezone too when invoking date with a timestamp because it can 2023-11-16 18:06:05 +00:00
doc Move more changes pulled up to netbsd-10 from CHANGES to CHANGES.prev. 2023-11-17 22:46:19 +00:00
etc Add missing backslash (Jan-Benedict Glaw) 2023-11-10 20:44:58 +00:00
external binutils.old: apply the same fix for mips gas from binutils. 2023-11-17 23:08:27 +00:00
games Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
include Allow __ssp_inline to be overriden 2023-11-15 03:14:16 +00:00
lib don't expose extra symbols. 2023-11-15 03:35:04 +00:00
libexec Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
regress A dumb test that calling close() on a pipe/socket fd dislodges another 2023-10-13 18:46:22 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin gpt.8: fix grammar in a sentence 2023-11-07 00:53:39 +00:00
share +NTA negative trust anchor 2023-11-15 14:03:19 +00:00
sys eventfd(2): Omit needless micro-optimization causing PR kern/57703. 2023-11-19 04:13:37 +00:00
tests t_fdrestart: Mark some tests no longer xfail. 2023-11-18 19:46:55 +00:00
tools bump the netbsd gcc 10 version to "nb3 20231008" for all the vax updates. 2023-10-08 21:52:34 +00:00
usr.bin tests/make: test and explain exporting of variables 2023-11-19 09:45:19 +00:00
usr.sbin altqd.8: grammar tweak (verb phrase) 2023-11-15 02:23:52 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile Makefile: Run `postinstall -d /', not `postinstall -d //'. 2023-09-08 12:01:56 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: fix a couple of spelling mistakes 2023-09-24 16:33:41 +00:00
build.sh build.sh: add support for git worktree 2023-09-04 02:21:17 +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