Go to file
rillig c153636995 tools: allow tools to use C99
The previous requirement was that tools should only use C89 features.
Several tools did not follow this rule for years.  Since nobody
complained about not being able to build NetBSD in a C89 environment,
drop that rule, now requiring C99.

https://mail-index.netbsd.org/tech-toolchain/2022/01/30/msg004091.html
2022-02-03 20:32:38 +00:00
bin After (a few days short of) 21 years, revert 1.25, which did nothing except 2022-02-02 01:21:34 +00:00
common fix typos in comments. 2022-01-15 10:38:56 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto PR/56658: Juraj Hercek: Plain RSA keys are not loaded by racoon IKE daemon 2022-01-23 14:55:28 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib remove double "with" in comments and usage text. Also fix one typo. 2022-01-24 09:42:13 +00:00
doc tools: allow tools to use C99 2022-02-03 20:32:38 +00:00
etc lib/librefuse: Implement FUSE session API and its signal handling functionality 2022-01-22 07:53:05 +00:00
external Add some more debugging to collect information about the sequence of events. 2022-01-30 19:49:30 +00:00
extsrc
games s/totaled/totalled/ 2021-12-31 12:42:24 +00:00
include err.h: dead once is dead enough 2022-01-06 00:16:47 +00:00
lib PR/56622: Walter Lozano: Improve readline compatibility by adding 2022-01-31 14:44:49 +00:00
libexec bozohttpd: remove obsolete .bzdirect handling 2022-01-04 06:08:14 +00:00
regress introduce a SOL_LOCAL for unix-domain socket level socket options 2021-08-08 20:54:48 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin PR/56643: Paul Goyette: Disable the last block adjustment for now. It seems 2022-01-26 20:22:14 +00:00
share remove double t from targeted, add missing r to arbitrary 2022-01-26 11:48:53 +00:00
sys bump MAXTSIZ 2022-02-03 17:23:50 +00:00
tests Test mkdir(2) with one or more trailing slashes - this currently fails 2022-02-01 18:27:24 +00:00
tools tools: allow tools to use C99 2022-02-03 20:32:38 +00:00
usr.bin when picking which 2 disks to show in the 'vmstat' default output 2022-02-01 09:18:07 +00:00
usr.sbin allow "cpuN" as well as "N" to specific a CPU. 2022-02-01 10:45:02 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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