Go to file
riastradh 3066bbbbf8 x86: Omit needless store in membar_producer/exit.
On x86, every store is a store-release, so there is no need for any
barrier.  But this wasn't a barrier anyway; it was just a store,
which was redundant with the store of the return address to the stack
implied by CALL even if issuing a store made a difference.
2022-04-09 12:07:17 +00:00
bin fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
common x86: Omit needless store in membar_producer/exit. 2022-04-09 12:07:17 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto merge OpenSSL-1.1.1m and OpenSSL-1.1.1n 2022-03-15 20:51:12 +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 membar_ops(3): Add some automatic tests. 2022-04-08 23:35:51 +00:00
doc openssh-9.0 out 2022-04-08 05:47:33 +00:00
etc membar_ops(3): Add some automatic tests. 2022-04-08 23:35:51 +00:00
external Merge conflicts between dhcp-4.4.2P1 and dhcp-4.4.3 2022-04-03 01:10:57 +00:00
extsrc
games fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
include err.h: dead once is dead enough 2022-01-06 00:16:47 +00:00
lib PR/56778: Detlev Casanova: Missing rl_initialize call in rl_copy_text 2022-04-08 20:11:31 +00:00
libexec _rtld_map_object(): no need to mmap an empty bss segment. 2022-03-30 08:26:45 +00:00
regress fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin fsck_udf(8): Nix trailing whitespace. 2022-04-09 09:59:16 +00:00
share Update documentation to clean up obsolete settings and add new ones. 2022-04-01 06:32:10 +00:00
sys x86: Every load is a load-acquire, so membar_consumer is a noop. 2022-04-09 12:07:00 +00:00
tests membar_ops(3): Add some automatic tests. 2022-04-08 23:35:51 +00:00
tools tools: allow tools to use C99 2022-02-03 20:32:38 +00:00
usr.bin lint: fix undefined behavior on enum overflow (since 1995) 2022-04-08 21:48:19 +00:00
usr.sbin makefs(8): Nix trailing whitespace. 2022-04-09 10:05:35 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +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