Go to file
kre 3dbd860142 Allocate alias pointers for qsort() to use on the stack, rather than
directly via malloc() so they get cleaned up correctly on error/intr.

NFCI.
2019-02-09 09:11:07 +00:00
bin Allocate alias pointers for qsort() to use on the stack, rather than 2019-02-09 09:11:07 +00:00
common - atomic_*_{8,16}_nv() must return a new value, not an old value. 2019-02-08 06:56:56 +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 mark ./usr/include/g++/bits/aarch64/c++config.h and 2019-02-09 02:15:05 +00:00
doc note GCC 6.5 and 7.4 imports. 2019-02-08 09:39:14 +00:00
etc move ./usr/include/dev/iscsi into NetBSD.dist.iscsi that is only 2019-02-09 02:04:19 +00:00
external make sure Makefile.inc is included before Makefile.driver. 2019-02-09 07:32:50 +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 Fix directory filehandle usage with libufse. Fix lookup count 2019-02-09 02:22:45 +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 Correct printed IOCTL name that was incorrect since rev 1.5. 2019-02-06 22:38:10 +00:00
share Add 8153, sort adapters. 2019-02-09 08:08:32 +00:00
sys Print chip ID when attached. 2019-02-09 07:50:47 +00:00
tests fix hello_profile's hello_profile_head function name. 2019-02-09 02:36:28 +00:00
tools - build the gthr*.h files to be installed on the fly, instead of 2019-02-09 03:57:00 +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 Rewrite modify_single() to make compilable on gcc7. 2019-02-08 08:55:35 +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 add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh add aliases for evbarm without saying 'earm': 2019-02-08 02:05:32 +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