Go to file
martin 021fe6e832 Note dependency of new binutils on new ld.elf_so for unsupported
DESTDIR=/ builds.
2023-01-16 08:49:55 +00:00
bin More markup errors. \+ was intended to be \&+ and .EV .Ev of course. 2022-12-20 17:51:54 +00:00
common Fix strnlen with a large maxlen argument by using unsigned comparison 2023-01-15 08:43:03 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto Correct lost change in the merge (Anthony Mallet) 2022-12-01 22:57:37 +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 distrib/sets: add missing directory for xlint tests 2023-01-16 00:23:55 +00:00
doc doc: update binutils entry to include 2.39 2023-01-15 09:00:05 +00:00
etc tests/lint: add basic tests for lint (not lint1 or lint2) 2023-01-15 23:18:05 +00:00
external Remove the trailing whitespace I added. oops. 2023-01-16 08:31:49 +00:00
games Define yes as extern veriable to fix build 2023-01-06 19:02:02 +00:00
include scandir(3) and alphasort(3) are part of POSIX-2008, so don't require 2022-12-28 11:51:21 +00:00
lib Apply 9cfe9507fcc22cd4a0c4da486ea1c7f0de6b075f for C23 attribute compliance. 2023-01-15 18:12:37 +00:00
libexec fix the ldd build 2023-01-12 19:17:11 +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 Use %zu rather than %lu to print a size_t (should fix i386 build). 2023-01-14 17:01:10 +00:00
share bsd.own.mk: replace '!empty' with direct expression 2023-01-15 18:43:49 +00:00
sys TAB/space cleanup. 2023-01-15 06:19:45 +00:00
tests tests/lint: fix typo in comment 2023-01-16 00:37:59 +00:00
tools fix the binutils build with read-only source trees 2022-12-31 05:44:25 +00:00
usr.bin xlint: fix null pointer dereference for lint -V (since today) 2023-01-15 23:32:10 +00:00
usr.sbin flashctl: use consistent markup in usage message 2023-01-08 16:01:49 +00:00
BUILDING fix documentation for MKLINT 2022-10-01 08:55:45 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Note dependency of new binutils on new ld.elf_so for unsupported 2023-01-16 08:49:55 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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