Go to file
jmcneill 47f97eb335 Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts 2019-11-09 23:28:26 +00:00
bin Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
common uubsan: Implement function_type_mismatch_v1 2019-11-01 14:54:07 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Merge 85acd57c8a288ce92f42bcf62737eebe385bce90 from Heimdal on Github: 2019-10-28 18:12:54 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib bump for gcc8 2019-11-04 00:59:05 +00:00
doc micphy(4): Add support for Microchip KSZ80[0456]1, KSZ87[23]1, KSZ9[01]31 and KSZ9477. 2019-11-07 02:34:44 +00:00
etc Remove commented out IGEPV2 entry 2019-11-03 12:16:35 +00:00
external Import 01f3a59fb3e2542fce74c768718f594d0debd0da from the LLVM mono-repo: 2019-11-08 14:28:07 +00:00
extsrc
games Gcc-8 bug confusion with restrict on sh3 2019-10-29 21:30:42 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Mirror the ld.elf_so logic for handling aligning the TLS size. 2019-11-07 22:25:21 +00:00
libexec Use alignof and not size_t for platforms with non-natural base 2019-11-05 22:22:42 +00:00
regress
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin elide recently introduced warnings that trigger in normal cases, eg: 2019-11-06 07:29:08 +00:00
share sync with FreeBSD r354417 2019-11-06 23:43:35 +00:00
sys Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts 2019-11-09 23:28:26 +00:00
tests Avoid warnings about tautological left shifts as conditional. 2019-10-28 18:10:22 +00:00
tools add something to auto-detect when GCC has changed from gcc to gcc.old 2019-11-06 07:26:31 +00:00
usr.bin Understand _Alignof 2019-11-09 19:54:09 +00:00
usr.sbin Correct documentation of -m and -M. 2019-11-06 21:04:22 +00:00
BUILDING
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md
UPDATING Add note for GCC 8 builds (see PR 54644) 2019-10-23 16:26:42 +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