Go to file
rillig d11aa0ae3d make: document two previously unknown bugs in job mode 2021-04-15 18:21:27 +00:00
bin - dedup code 2021-04-06 13:35:52 +00:00
common
compat
crypto Restore r1.3 of modes.inc: we are using this directory for the 2021-04-11 16:21:04 +00:00
dist/pf
distrib lint: add test for newly added message about static array size 2021-04-14 18:27:11 +00:00
doc note gcc 10.3 exists. 2021-04-11 01:37:02 +00:00
etc create the gcc-10 subdirs, and don't create the gcc-8 ones. 2021-04-12 02:09:27 +00:00
external avoid second typedef for boolean_t in kernel code originally defined in 2021-04-15 07:00:50 +00:00
extsrc
games one port complains about string overflow here that i can't see. 2021-04-15 01:55:21 +00:00
include - Replace REG_ENOSYS (unused) with REG_ILLSEQ. 2021-02-23 17:14:42 +00:00
lib for GCC, built memset.c with -fno-builtin. this avoids GCC 10 compiling 2021-04-14 08:07:49 +00:00
libexec bozohttpd: fix argument type for functions from <ctype.h> 2021-04-08 07:02:11 +00:00
regress
rescue
sbin vax vs gcc: fsdb.c loses. also build this with -O0. 2021-04-15 01:56:00 +00:00
share OpenSSL man pages have moved 2021-04-14 07:56:23 +00:00
sys fix reversed comment 2021-04-15 17:31:15 +00:00
tests tests/lint: adjust test for C11 to the change in grammar and options 2021-04-14 22:06:38 +00:00
tools add a netbsd version for GCC 10. properly generate omp-device-properties.h. 2021-04-11 23:55:47 +00:00
usr.bin make: document two previously unknown bugs in job mode 2021-04-15 18:21:27 +00:00
usr.sbin more -fcommon for sources not ready yet 2021-04-13 08:55:06 +00:00
BUILDING
Makefile
Makefile.inc
README.md Improve URL consistency 2021-03-17 15:26:20 +00:00
UPDATING UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00
build.sh Modify the generated make wrapper to avoid complaints about 2021-01-28 10:36:27 +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