Go to file
nia d5d305cc98 Don't suggest removing arc4random with a libc bump.
It's established enough in non-legacy code that this is a terrible idea.
Even if we add getentropy it's not a comparable API (not a userspace RNG
capable of streaming large numbers of bytes, doesn't have _uniform, etc).

"Feel free to remove that line!" - riastradh
2020-06-02 13:56:30 +00:00
bin fix reversed test. 2020-05-22 14:54:30 +00:00
common Fix typo in comment. 2020-05-31 12:37:07 +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 Use a larger INSTIMAGEMB value for MKDEBUG builds 2020-06-02 10:41:30 +00:00
doc evbarm: Add install media for earmv7hf and aarch64. 2020-05-28 20:29:21 +00:00
etc Use the default motd for stable builds 2020-06-01 01:41:40 +00:00
external don't elide fortran components. we'd like to revive g77-as-gfortran. 2020-06-02 08:03:59 +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 Don't suggest removing arc4random with a libc bump. 2020-06-02 13:56:30 +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 Make -f description actually use the word "force" so that it can be 2020-06-01 03:18:36 +00:00
share 1. if ${LIBISPRIVATE} == "pic", create _pic.a so that we can embed the library 2020-06-01 14:39:14 +00:00
sys Synchronize struct name in rump_syscalls.c and syscallargs.h 2020-06-02 13:49:15 +00:00
tests LIBISPRIVATE=yes 2020-06-01 14:42:03 +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 Fix extra whitespace added by accident. 2020-06-01 13:30:52 +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 Mention cleaning needed in LIBISPRIVATE directories 2020-06-01 14:46:04 +00:00
build.sh Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +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