Go to file
mrg 05e7ff1ac3 disable -Wabi for GCC 9. 2020-09-05 13:38:43 +00:00
bin Mark up path with Pa and use Ev for environment variable. 2020-08-30 20:14:07 +00:00
common Remove unused assembly source files 2020-09-03 16:45:49 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto move $VERSION from Makefile.inc into the single Makefile that uses it. 2020-07-23 07:53:35 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib add distrib/sets/fmt-list to format the file lists consistently 2020-09-05 11:13:07 +00:00
doc Clarify wg(4)'s relation to WireGuard, pending further discussion. 2020-08-26 16:03:40 +00:00
etc Treat aarch64 and aarch64eb identically with regard to ld.so.conf 2020-09-03 18:59:33 +00:00
external work around various headers not being fully open without some 2020-09-05 13:36:49 +00:00
extsrc
games s/ be be / be / 2020-08-19 02:19:06 +00:00
include make the 2nd argument to __memmove_chk() const 2020-09-05 13:37:59 +00:00
lib make the 2nd argument to __memmove_chk() const 2020-09-05 13:37:59 +00:00
libexec avoid passing NULL pointers to printf() like functions and %s. 2020-09-05 13:38:24 +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 If we hit an unknown header type (likely to be a corrupt record), and 2020-09-03 19:31:34 +00:00
share disable -Wabi for GCC 9. 2020-09-05 13:38:43 +00:00
sys x86: fix several CPUID flags 2020-09-05 07:45:44 +00:00
tests nvmm: update copyright headers 2020-09-05 07:22:25 +00:00
tools disable fetching stuff from libsanitizer for now. it needs libstdc++ 2020-09-05 10:58:08 +00:00
usr.bin make(1): make Hash_Table independent from -funsigned-char 2020-09-05 13:36:25 +00:00
usr.sbin x86: fix several CPUID flags 2020-09-05 07:45:44 +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 update the latest note to talk about all 3 potential ways that 2020-08-20 03:09:34 +00:00
build.sh make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +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