Go to file
oster 6b6fd5e205 Correct printed IOCTL name that was incorrect since rev 1.5. 2019-02-06 22:38:10 +00:00
bin Remove leading zero from date. 2019-02-04 12:18:36 +00:00
common fix atomic_sub_*(). it was (delta - *ptr), should be (*ptr - delta). 2019-02-06 05:33:14 +00:00
compat don't build kernel grovelling tools as n64 on sgimips - we don't actually have 2018-09-20 02:51:21 +00:00
crypto - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Add ure(4): RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device. 2019-02-06 11:55:05 +00:00
doc Add ure(4): RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device. 2019-02-06 11:55:05 +00:00
etc add missing ./usr/include/dev/hdmicec 2019-02-05 06:11:29 +00:00
external use sizeof() properly (gcc-7) 2019-02-06 17:56:57 +00:00
extsrc
games apply -Wno-error=implicit-fallthrough on files that have fallthru 2019-02-04 09:51:47 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib Mark up NULL with Dv. Remove empty line. 2019-02-05 15:03:35 +00:00
libexec - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Correct printed IOCTL name that was incorrect since rev 1.5. 2019-02-06 22:38:10 +00:00
share Add StarTech USB21000S2 to list of supported adapters. 2019-02-06 12:10:00 +00:00
sys compare pointers with NULL not nul. 2019-02-06 21:42:46 +00:00
tests movzx is not AT&T syntax, but some bastard version of Intel syntax. 2019-02-06 15:42:31 +00:00
tools common-target source list is MD. make it so. 2019-02-04 01:46:59 +00:00
usr.bin Provide an accessor for the menu description structure by manu identifier. 2019-02-06 20:08:15 +00:00
usr.sbin quit is dead 2019-02-06 17:21:51 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note that we need to clean objdir for the OpenSSL update. 2018-09-24 13:18:35 +00:00
build.sh add build libs (undocumented). 2018-12-30 23:19:40 +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