Go to file
simonb c84bb8ac7c Update usage message to reflect reality. 2021-04-07 14:45:28 +00:00
bin - dedup code 2021-04-06 13:35:52 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto merge our changes between 1.1.1j and 1.1.1k 2021-03-25 18:51:18 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Revert the change to not build and install /usr/lib/dtrace/drti.o; this 2021-04-07 09:57:02 +00:00
doc new libevent 2021-04-07 03:38:50 +00:00
etc - Hook DHT kernel 2021-04-02 07:08:36 +00:00
external Revert the change to not build and install /usr/lib/dtrace/drti.o; this 2021-04-07 09:57:02 +00:00
extsrc
games cgram: don't beep if the window is resized 2021-02-26 15:18:40 +00:00
include - Replace REG_ENOSYS (unused) with REG_ILLSEQ. 2021-02-23 17:14:42 +00:00
lib Attempt to unbreak the build by reverting r1.288. 2021-04-06 21:13:04 +00:00
libexec avoid DoS in initial request size, which is now bounded at 16KiB. 2021-04-04 18:14:26 +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 Update usage message to reflect reality. 2021-04-07 14:45:28 +00:00
share Remove sentence that has not been true since netbsd-6. 2021-04-06 22:12:16 +00:00
sys Add a # to a %x printf format to get some 0x hex number prefixes. 2021-04-07 14:27:39 +00:00
tests lint: for shift in C99 mode, do not warn about difference to pre-C90 2021-04-06 21:59:58 +00:00
tools Add reallocarray; this is used by the new regex code and we don't want to 2021-02-25 13:41:58 +00:00
usr.bin audiocfg(1): add examples 2021-04-07 09:58:58 +00:00
usr.sbin Add a -L option to follow all symbolic links. Useful if you have symlinks 2021-04-03 14:10:56 +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 Improve URL consistency 2021-03-17 15:26:20 +00:00
UPDATING UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00
build.sh Modify the generated make wrapper to avoid complaints about 2021-01-28 10:36:27 +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