Go to file
lukem 429f92fe0c bsd.README: update to reality, sync from mk.conf(5)
Sync user variables from mk.conf(5), sorted.
(Arguably this could just refer to mk.conf(5)
or share/man/man5/mk.conf.5 and remove the copypasta.)

Document NOxxx overrides in own subsection.

Unexpand tabs, tweak after.
2023-06-05 22:36:58 +00:00
bin adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
common RISC-V support that works on QEMU with a single hart. 2023-05-07 12:41:45 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +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 mkvars.mk: sort MKEXTRAVARS and remove dupes 2023-06-03 21:20:53 +00:00
doc BUILDING: editorial 2023-06-05 22:36:17 +00:00
etc /etc/rc.d/sshd: Use default curve for ECDSA keygen, not NIST P-521. 2023-06-05 11:59:12 +00:00
external llvm tool build: fix warning 2023-06-04 17:48:05 +00:00
games bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
include s/configuratin/configuration/ in comment, from Brad Harder (bch) by email. 2023-05-23 10:22:42 +00:00
lib adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
libexec ld.elf_so: Sprinkle more debug messages on dlopen and error. 2023-06-04 23:42:38 +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 remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 2023-06-03 21:26:27 +00:00
share bsd.README: update to reality, sync from mk.conf(5) 2023-06-05 22:36:58 +00:00
sys Fix previous comment fix, which broke a comment. 2023-06-05 18:16:07 +00:00
tests tests/indent: add test for left-justifying declarations 2023-06-05 15:02:54 +00:00
tools tools: revert use of <bsd.hostinit.mk> 2023-06-04 16:53:59 +00:00
usr.bin indent: in 'if (expr)', the parentheses do not form a cast expression 2023-06-05 20:56:18 +00:00
usr.sbin adapt to ${CC_WNO_STRINGOP_TRUNCATION} 2023-06-03 21:33:25 +00:00
BUILDING BUILDING: editorial 2023-06-05 22:36:17 +00:00
Makefile build.sh: add show-params operation 2023-06-02 20:48:09 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Note kernel build lossage in an unsupported build configuration 2023-06-04 16:14:59 +00:00
build.sh build.sh: add show-params operation 2023-06-02 20:48:09 +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