Go to file
martin 1da4bdf9dd Explicitly include <sys/mutex.h> for kmutex_t. 2023-07-11 14:57:21 +00:00
bin Fix typo in a debug message. 2023-06-24 05:17:02 +00:00
common strspn: fix typo in comment 2023-06-18 22:18:13 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Sprinkle OPENSSL_NO_EC_NISTP_64_GCC_128 for aarch64eb. 2023-07-08 23:54:27 +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 Add memfd_create(2) from GSoC 2023 by Theodore Preduta 2023-07-10 02:31:54 +00:00
doc doc/HACKS: Note OPENSSL_NO_EC_NISTP_64_GCC_128 hack for aarch64eb. 2023-07-09 00:01:55 +00:00
etc Fix sysctl invocation testing for missing entropy. 2023-07-05 12:07:21 +00:00
external mknative-gcc for GCC 10.5.0. 2023-07-11 06:05:43 +00:00
games tetris(6): Support the informal standard of allowing setting NO_COLOR 2023-07-01 10:51:35 +00:00
include s/configuratin/configuration/ in comment, from Brad Harder (bch) by email. 2023-05-23 10:22:42 +00:00
lib Add memfd_create(2) from GSoC 2023 by Theodore Preduta 2023-07-10 02:31:54 +00:00
libexec add a note about how to setup http -> https redirection. 2023-06-07 20:22:22 +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 Revert "fsck_ffs(8): Ensure A divides S before aligned_alloc(A, S)." 2023-07-05 10:59:08 +00:00
share versioningsyscalls(9): wrap long line in the example 2023-07-10 23:55:13 +00:00
sys Explicitly include <sys/mutex.h> for kmutex_t. 2023-07-11 14:57:21 +00:00
tests t_clock_gettime: Avoid signed/unsigned comparison. 2023-07-09 19:19:40 +00:00
tools host-mkdep(1): Add support for -iquote. 2023-07-10 08:55:44 +00:00
usr.bin lint: when debugging the parser, write messages on stderr 2023-07-10 19:58:47 +00:00
usr.sbin ddb: New `show all tstiles' command. 2023-07-09 17:10:47 +00:00
BUILDING BUILDING: wording tweaks 2023-07-05 16:41:12 +00:00
Makefile more NBUILDJOBS deprecation 2023-06-11 10:43:51 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Note kernel build lossage in an unsupported build configuration 2023-06-04 16:14:59 +00:00
build.sh fix build.sh wrong variable use that caused nbmake to be always rebult 2023-06-13 16:56:00 +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