Go to file
rin 6673897143 tools/binutils: Add support to mknative for binutils.old 2023-11-25 12:11:27 +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 move line to avoid deprecated declaration errors outside of the kerberos block. 2023-11-24 18:45:46 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib pthread: Add tests for pthread user stack allocation. 2023-11-24 16:21:17 +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/bfd: Require 64-bit integer support for vax 2023-11-25 12:09: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 Allow __ssp_inline to be overriden 2023-11-15 03:14:16 +00:00
lib minimize diffs with FreeBSD. 2023-11-19 18:57:11 +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 Parse IPv6 targets and handle IPv6 addresses. 2023-11-25 08:06:02 +00:00
share Add two BTB entries. 2023-11-24 21:17:49 +00:00
sys Adapt to bignum representation of target. 2023-11-25 10:08:27 +00:00
tests t_dlinfo, t_rtld_r_debug: Audit ATF_REQUIRE/CHECK, sprinkle messages. 2023-11-24 17:40:20 +00:00
tools tools/binutils: Add support to mknative for binutils.old 2023-11-25 12:11:27 +00:00
usr.bin make: replace 'variable expression' with 'expression' in comments 2023-11-19 22:50:11 +00:00
usr.sbin Add Alpha glue for crash(8). 2023-11-22 02:01:07 +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