Go to file
rin f2c339bc51 Use <compat/netbsd32/netbsd32.h> instead of <machine/netbsd32_machdep.h>,
which is not intended for standalone use.

Compile tested for all ports with their own COMPAT_NETBSD32 codes:
aarch64, amd64, arm, mips64, sparc64, and algor64.

Should fix build failure for mips64 in netbsd-9, where netbsd32.h is not
included by other header files.
2021-01-02 02:13:42 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +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 conflicts, regen 2020-12-10 00:33:08 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib lint: demonstrate bug in handling of nested C9X struct initializers 2021-01-01 16:50:47 +00:00
doc evbarm: Add support for Amlogic G12 family SoCs 2021-01-01 10:12:25 +00:00
etc If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling. 2020-12-29 16:46:44 +00:00
external libunbound: Enforce that mini_event isn't used by include/config.h 2021-01-01 23:24:31 +00:00
extsrc
games speed limit 80 2020-12-06 11:41:47 +00:00
include Correct typo in previous. 2020-12-04 23:04:58 +00:00
lib Implement support for trapping REP CMPS instructions in NVMM. 2020-12-27 20:56:14 +00:00
libexec Bozohttpd clobbers files greater than 4GB on 32bit archs. 2020-11-19 10:45:36 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Managment -> Management 2020-12-20 10:19:30 +00:00
share wsdisplay(4): WSDISPLAYIO_GET_EDID - fix struct name. 2020-12-23 06:10:13 +00:00
sys Use <compat/netbsd32/netbsd32.h> instead of <machine/netbsd32_machdep.h>, 2021-01-02 02:13:42 +00:00
tests lint: fix wrong warning about bitfield in C99 structure initialization 2021-01-01 19:11:19 +00:00
tools Don't bother with gdbserver for archs that don't build it. 2020-12-05 21:27:31 +00:00
usr.bin lint: order tspec_name in the same way as the enum 2021-01-02 01:36:28 +00:00
usr.sbin Change second gc.interval_min to gc.interval_max. 2020-12-17 05:33:06 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note about mips kernel modules breaking update builds 2020-10-17 07:41:25 +00:00

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