Go to file
hgutch d9afbe107f Fix LLVM build with host gcc 13
Building LLVM with a host gcc 13 fails and suggests including <cstdint>
in external/apache2/llvm/dist/llvm/include/llvm/Support/Signals.h .
Instead of this, joerg@ suggested not modifying the llvm vendor branch
but instead working around this in our LLVM build infrastructure.
2023-05-30 19:05:04 +00:00
bin pax: don't overwrite destination if -r -w copy fails 2023-05-28 21:42:40 +00:00
common RISC-V support that works on QEMU with a single hart. 2023-05-07 12:41:45 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Explicitly run openssl's "gen" script in a shell 2023-05-27 20:51:22 +00:00
dist/pf
distrib openssl: Add missing sparc compat openssl engines to set list. 2023-05-27 10:12:11 +00:00
doc CHANGES: rm SHAREDSTRINGS, mkstr, xstr 2023-05-24 13:09:53 +00:00
etc Revert "openssl: Nix build goo for dynamically loaded engines." 2023-05-26 22:26:10 +00:00
external Fix LLVM build with host gcc 13 2023-05-30 19:05:04 +00:00
games add a fortune 2023-05-28 03:35:24 +00:00
include s/configuratin/configuration/ in comment, from Brad Harder (bch) by email. 2023-05-23 10:22:42 +00:00
lib Fix some const qual (Piotr Pawel Stefaniak) 2023-05-30 11:53:40 +00:00
libexec Deal with OpenSSL-3.x 2023-05-09 13:07:43 +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 pathadj() is required to succeed. If it cannot, simply issuing a 2023-05-25 17:37:05 +00:00
share sysctl.7: be a little more descriptive about kern.osrevision 2023-05-29 23:30:47 +00:00
sys Use device_printf() instead of aprint_error_dev(). 2023-05-30 04:14:30 +00:00
tests Add RUMPHIJACK option "blanket=/DEV" so mount_ffs may canonicalise 2023-05-28 08:17:00 +00:00
tools Fix LLVM build with host gcc 13 2023-05-30 19:05:04 +00:00
usr.bin If it isn't possible to determine the realpath() of ".", then simply 2023-05-25 17:24:17 +00:00
usr.sbin With the latest changes, pad(4) will return partial reads to allow a 2023-05-28 07:59:17 +00:00
BUILDING BUILDING: TMPDIR must not be noexec 2023-05-18 14:22:53 +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 ctfmerge tool fixes might need a clean tools build 2023-05-23 20:26:52 +00:00
build.sh build.sh, BUILDING: consistency improvements 2023-05-16 21:39:26 +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