Go to file
tsutsui ce046ada8b Use more shrinked binaries from distrib/utils/x_foo versions. 2021-07-10 03:19:12 +00:00
bin use parsenum like everywhere else in the code. 2021-06-04 22:39:41 +00:00
common One more s/pte/ptr/ 2021-07-06 08:31:41 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto remove generated files, custom #define prefixes to hide lex/yacc symbols 2021-06-20 12:01:07 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Use more shrinked binaries from distrib/utils/x_foo versions. 2021-07-10 03:19:12 +00:00
doc Mention about hp300 rd(4) improvements for HPDisk. 2021-07-09 17:07:29 +00:00
etc Create rd3 device nodes, for HPDisk. 2021-07-09 19:01:29 +00:00
external When running an individual test case under isolation, make the test 2021-07-08 18:10:52 +00:00
extsrc
games SIGINFO is a useful tip 2021-06-04 11:18:31 +00:00
include PR/56250: Michael Forney: mkstemp/mkdtemp not declared with 2021-07-03 14:07:13 +00:00
lib Don't adjust the buffers when write returns 0. This happens with fmemopen 2021-07-09 09:24:16 +00:00
libexec Treat failed chdir/chroot for guest and chroot accounts as fatal. 2021-07-03 14:59:49 +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 PR/56270: Matthias Scheler: dump fails on ffsv1: Zero c_extsize since ffsv1 2021-07-07 11:06:37 +00:00
share build fix 2021-07-06 09:30:07 +00:00
sys Specify -fno-unwind-tables to shrink binaries. 2021-07-09 17:44:28 +00:00
tests tests/lint: add test for unrealistic edge cases in declarations 2021-07-09 20:20:03 +00:00
tools LLVM RT library will actually cross-build from OpenBSD provided sufficient 2021-07-04 12:57:48 +00:00
usr.bin lint: remove 6 conflicts from the grammar, in type_direct_decl 2021-07-09 20:51:27 +00:00
usr.sbin Allow to set sanitizer flags for the rump build from the 2021-07-07 11:51:45 +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 libera.chat-hosted kiwiirc 2021-05-29 13:08:08 +00:00
UPDATING add a note about potential GCC 9->10 build failures 2021-04-17 04:08:32 +00:00
build.sh Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +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