Go to file
ryo 706088913a fix atomic_sub_*(). it was (delta - *ptr), should be (*ptr - delta).
changing shared macro doesn't effect other atomic_ops because
(*ptr [+|^] delta) and (delta [+|^] *ptr) have same result.

atomic_sub_*() haven't used because non standard API?
2019-02-06 05:33:14 +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 gcc-7 specific header. 2019-02-05 13:57:25 +00:00
doc update the rf / netbsd32 comment. 2019-02-04 22:00:51 +00:00
etc add missing ./usr/include/dev/hdmicec 2019-02-05 06:11:29 +00:00
external uses the idiom len = snprintf(&tmp, 1, ...) to compute length. 2019-02-06 04:23:16 +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
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin - add the string length as an explicit parameter to get_time_string() 2019-02-04 09:31:22 +00:00
share comment out the IFF_TRAILERS stuff that is no longer relevant and add 2019-02-05 19:53:13 +00:00
sys - convert shift results into logical expressions 2019-02-06 05:04:41 +00:00
tests Add 2 new tests in t_fopen 2019-02-05 17:30:19 +00:00
tools common-target source list is MD. make it so. 2019-02-04 01:46:59 +00:00
usr.bin rework the previous to only apply if !HOSTPROG 2019-02-04 10:03:16 +00:00
usr.sbin Add Ice Lake and Tremont from the latest Intel SDM. 2019-02-05 08:07:59 +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