Go to file
mrg f59299f723 give a catch() a variable. gcc 8 is picky:
atf-check.cpp:221:23: error: catching polymorphic type 'class std::runtime_error' by value [-Werror=catch-value=]
2019-10-04 09:19:18 +00:00
bin copy libc's swab.c into dd as dd_swab(), and remove the restrict. 2019-10-04 08:57:37 +00:00
common Traiing whitespace. 2019-09-16 12:40:40 +00:00
compat
crypto avoid access uninitialised memory, found by gcc8, patch by agc@. 2019-10-04 09:16:38 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib gcc 8 set lists updates. i don't appear to have broken gcc 7 builds 2019-10-03 00:59:49 +00:00
doc typo 2019-10-03 06:27:09 +00:00
etc add gcc-8 dirs, remove gcc-6 dirs. 2019-10-03 01:34:31 +00:00
external give a catch() a variable. gcc 8 is picky: 2019-10-04 09:19:18 +00:00
extsrc
games convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
include remove comment for incomplete x/open impl (kamil) 2019-09-15 23:52:59 +00:00
lib deduplicate the conversion function from statvfs -> statfs12 2019-10-04 01:28:02 +00:00
libexec use __func__ (c99, c++11) instead of __FUNCTION__ 2019-10-04 01:57:53 +00:00
regress
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin avoid access uninitialised memory, found by gcc8, patch by agc@. 2019-10-04 09:16:38 +00:00
share DAAP DLNA 2019-10-02 11:14:46 +00:00
sys Remove FDT_INTR_MPSAFE flag. 2019-10-04 06:49:40 +00:00
tests msg: 2019-10-04 09:01:59 +00:00
tools remove HAVE_GCC == 6 support, add HAVE_GCC == 8 support 2019-09-30 08:40:20 +00:00
usr.bin msg: 2019-10-04 09:01:59 +00:00
usr.sbin - Add definitions of AMD's CPUID Fn8000_001f Encrypted Memory features. 2019-10-03 15:21:44 +00:00
BUILDING
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md
UPDATING add a note about GCC 8.3 import probably needing cleaning. 2019-10-01 09:36:56 +00:00
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