Go to file
martin b4083223a4 Make more room for ramdisk image (which recently grew a bit) 2023-10-10 10:36:42 +00:00
bin If the read builtin is told to read into IFS, we must avoid doing 2023-10-05 20:33:31 +00:00
common kmem_free() -> kmem_intr_free(). Spotted by rin@. 2023-09-23 19:17:38 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib libm Makefile: add fma() functions for mips. 2023-10-08 13:47:51 +00:00
doc 3RDPARTY: mDNSResponder now at 2200.0.8 2023-10-08 21:08:05 +00:00
etc Add support to npf_rules to rc.conf 2023-10-05 08:19:27 +00:00
external gcc.old: vax: mknative for PR port-vax/57646 2023-10-09 12:26:59 +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 sync with tzcode 2023c 2023-09-16 18:19:30 +00:00
lib Correct the fd closed check so we actually check the outfd as per 2023-10-09 21:14:29 +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 s/defult/default/ 2023-08-24 14:53:02 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
share Add an example of connecting to an unsecured network with wpa_supplicant 2023-10-10 07:21:00 +00:00
sys Make more room for ramdisk image (which recently grew a bit) 2023-10-10 10:36:42 +00:00
tests Update check files affected by a fix to addbyte.c in libcurses. 2023-10-05 06:15:58 +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 make: remove obsolete comments, clean up comments and identifiers 2023-09-21 20:30:59 +00:00
usr.sbin Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +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