Go to file
maxv 10b7bc9101 Avoid passing file paths in panic strings, this results in extra long
output that is annoying and that syzbot classifies as independent reports
due to the instances having different build paths.
2020-05-30 08:50:31 +00:00
bin fix reversed test. 2020-05-22 14:54:30 +00:00
common PR 55239: initialize all RAS sections for non-MP configurations 2020-05-15 15:20:40 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto delete previous and fix bug instead. 2020-05-29 12:15:30 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Shrink ramdisk to make RAMDISK kernel smaller for ARC BIOS restriction. 2020-05-29 23:12:12 +00:00
doc evbarm: Add install media for earmv7hf and aarch64. 2020-05-28 20:29:21 +00:00
etc Create a separate Arm64 image that uses MBR partitioning. Amlogic SoCs 2020-05-28 10:22:49 +00:00
external make it compile again 2020-05-29 20:56:27 +00:00
extsrc
games Heads up on Bell patents 2020-05-18 20:19:08 +00:00
include Avoid depending on namespace pollution in stdlib.h. 2020-05-26 21:49:29 +00:00
lib Add pathconf and lpathconf (fixes lib/librumphijack/nfs test which uses ls 2020-05-27 18:55:36 +00:00
libexec new binutils/gcc started emitting R_PPC_UADDR32 reloc entries, so for now 2020-05-24 02:33:11 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Add -g to usage. 2020-05-24 21:02:12 +00:00
share remove useless MACHINE_ARCH == sh3 check for GCC 8. 2020-05-29 01:20:43 +00:00
sys Avoid passing file paths in panic strings, this results in extra long 2020-05-30 08:50:31 +00:00
tests Fix alpha build (relocation truncated to fit: GPREL16 against symbol ...) 2020-05-26 18:52:29 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin Update sysctl key in netstat(1) 2020-05-27 05:59:16 +00:00
usr.sbin Initialize puffs9p::server (though it's not used anywhere). 2020-05-30 02:53:30 +00:00
build.sh Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +00:00

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