Go to file
rillig ff78291f2d make(1): make memory allocation simpler in meta_create and meta_oodate
Since there is only a single variable left that needs to be freed at the
end (and probably never actually needs to be freed since nobody defines
an environment variable named .OBJDIR), there is no need to loop over
these variables.
2020-10-31 12:04:24 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat
crypto Define OPENSSL_NO_EC_NISTP_64_GCC_128 also for aarch64eb. 2020-10-19 12:46:04 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib make(1): add test for recursive variable expressions 2020-10-31 11:30:56 +00:00
doc Note update to tzdata 2020d 2020-10-22 08:26:00 +00:00
etc Register the usr/share/gdb dir 2020-10-24 07:03:00 +00:00
external Use the same macro used before for avoiding too large floats on vax. 2020-10-30 12:32:04 +00:00
extsrc
games Add one. 2020-10-30 04:56:32 +00:00
include - remove bitypes.h fossil 2020-10-10 19:51:48 +00:00
lib Remove trailing whitespace. 2020-10-31 10:51:59 +00:00
libexec New sentence, new line. Fix xref. 2020-10-15 09:54:22 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin file systems that are used as what spools? 2020-10-24 10:51:34 +00:00
share Improve wording. 2020-10-31 10:48:17 +00:00
sys Match linux here and wait without interrupts. 2020-10-31 04:05:42 +00:00
tests PR/55663: Ruslan Nikolaev: Add support for EVFILT_USER in kqueue(2) 2020-10-31 01:08:31 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin make(1): make memory allocation simpler in meta_create and meta_oodate 2020-10-31 12:04:24 +00:00
usr.sbin PR 55769: avoid the module set if we do not build any 2020-10-30 18:47:38 +00:00
BUILDING Document CPUFLAGS here (it's already documented in share/mk/bsd.README). 2020-10-13 01:59:32 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +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 about mips kernel modules breaking update builds 2020-10-17 07:41:25 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +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