Go to file
jdc a26bd5343b If the controller doesn't support switch func (opcode 6) then skip
setting this but continue with other settings.  This allows us to use
a card, albeit at a lower speed.
2020-05-11 09:51:47 +00:00
bin In sink(), upon error, avoid multiple replies to the source as this 2020-05-06 18:15:40 +00:00
common Use the hotpatch framework when patching _atomic_cas_64. 2020-05-01 08:32:50 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto prefix errors with the program name and use stderr. 2020-05-10 19:54:49 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib usr.bin/make: add tests for surprising dollar removal 2020-05-10 12:34:01 +00:00
doc Pass -Wno-unused-command-line-argument for LLVM, discussed on 2020-05-10 06:38:24 +00:00
etc If no random seed file exists on boot, create one. 2020-05-07 20:01:04 +00:00
external Add SIGPIPE to the list of dhcpcd affected signals since we sigignore it. 2020-05-10 17:58:16 +00:00
extsrc
games Simplify, little KNF 2020-04-30 12:40:11 +00:00
include Add getentropy() to libc - a simple wrapper to access the kernel CSPRNG. 2020-05-06 16:17:36 +00:00
lib Don't add getentropy.c to the build (remove symbol from libc) 2020-05-10 19:36:49 +00:00
libexec Trailing whitespace 2020-05-10 06:42:38 +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 Trigger entropy consolidation before saving seed. 2020-05-07 19:13:38 +00:00
share Remove timedwaitclock. 2020-05-11 03:59:33 +00:00
sys If the controller doesn't support switch func (opcode 6) then skip 2020-05-11 09:51:47 +00:00
tests A kernel without USER_LDT returns ENOSYS, not ENOTSUP. 2020-05-09 09:08:41 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin usr.bin/make: fix typo in dollar test 2020-05-10 13:03:40 +00:00
usr.sbin warn only for > INFO level messages. 2020-05-10 22:38:51 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +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
build.sh Allow path components that start with ~ 2020-03-28 20:13:13 +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