Go to file
christos 20fa0b90d9 PR/56147: Miroslav Lichvar: Avoid memory leak if strdup fails. 2021-05-05 14:49:59 +00:00
bin Remove SCCS workaround. No binary change. 2021-04-17 08:35:33 +00:00
common Provide all the LSE operation fuctions. The use of LSE instructions is 2021-04-27 09:14:24 +00:00
compat define BFD_MACHINE_ARCH. This worked by accident before since the default 2021-04-25 18:44:04 +00:00
crypto Handle the compat builds and both the n64 and non n64 variants 2021-04-26 20:01:13 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Add links for the other functions documented in arc4random(3). 2021-05-03 11:07:55 +00:00
doc evbarm: Add support for Allwinner V3s SoCs. 2021-05-05 10:25:36 +00:00
etc update for libX11 1.7.0. 2021-04-27 06:51:49 +00:00
external libXaw: fix Clang build 2021-05-04 17:47:05 +00:00
extsrc
games countmail: remove outdated comments 2021-05-02 13:10:36 +00:00
include Default to check-names for safety. 2021-04-30 16:07:49 +00:00
lib PR/56147: Miroslav Lichvar: Avoid memory leak if strdup fails. 2021-05-05 14:49:59 +00:00
libexec don't assume host BUFSIZ is sufficent. small BUFSIZ leads to 2021-05-05 07:41:48 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue
sbin cgdconfig.8: use gpt in examples, it's more versatile for this use case 2021-04-30 21:07:34 +00:00
share Fix code example (from RVP) 2021-05-04 17:51:55 +00:00
sys Add loadfile_machdep.h for riscv 2021-05-05 12:47:02 +00:00
tests tests/lint: make test for message 118 platform-independent 2021-05-04 19:57:56 +00:00
tools Make mips-elf2ecoff available for all mips 2021-04-25 15:11:28 +00:00
usr.bin lint: fix assertion failure when promoting a bit-field larger than int 2021-05-04 05:40:10 +00:00
usr.sbin postinstall: re-align list output 2021-04-25 06:21:37 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md Improve URL consistency 2021-03-17 15:26:20 +00:00
UPDATING add a note about potential GCC 9->10 build failures 2021-04-17 04:08:32 +00:00
build.sh Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones. 2021-04-25 22:29:22 +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