Go to file
mrg 7e1463f49a avoid common symbols. 2021-04-12 09:18:45 +00:00
bin
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 various updates for GCC 10 support. remove dead gcc7/8 support 2021-04-12 02:08:59 +00:00
doc
etc create the gcc-10 subdirs, and don't create the gcc-8 ones. 2021-04-12 02:09:27 +00:00
external arm/netbsd-elf.h is necessary for eabi targets. 2021-04-12 09:03:39 +00:00
extsrc
games avoid leaving off the trailing nul in a literal string. 2021-04-12 09:12:28 +00:00
include
lib pass the right enum to krb5_auth_con_setkeytype(). 2021-04-12 09:17:48 +00:00
libexec
regress
rescue
sbin properly terminate a buffer after strncpy(). 2021-04-12 09:18:14 +00:00
share add GCC_NO_IMPLICIT_FALLTHRU, GCC_NO_MAYBE_UNINITIALIZED, and 2021-04-12 04:18:38 +00:00
sys avoid common symbols. 2021-04-12 09:18:45 +00:00
tests new GCC_NO_* uses for warning issues. most of the users of the new 2021-04-12 06:08:30 +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: improve performance for LazyBuf 2021-04-11 22:53:45 +00:00
usr.sbin fix a buffer size (off by one), and fix all the comments for the 2021-04-12 05:11:09 +00:00
BUILDING
Makefile
Makefile.inc
README.md
UPDATING
build.sh

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