Go to file
sjg 90280d3b93 make.1: note that %s should only be used with :localtime 2023-08-20 19:58:15 +00:00
bin use -O1 on sh3, GCC 12 and parser.c. 2023-08-14 03:18:14 +00:00
common port-arm/57388: Minor bug fix in bcopy.S 2023-07-23 07:54:37 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto trousers: Make this build again. 2023-08-10 06:56:12 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib distrib/sets/lists/tests: Correction: h_inotify_* are MI. 2023-08-20 19:36:56 +00:00
doc catch up with tcpdump, add file 2023-08-18 19:02:04 +00:00
etc etc/mtree/NetBSD.dist.tests: Update for new compat linux tests. 2023-08-20 10:27:11 +00:00
external gdb/gnulib: Revert rename(2) workaround for now 2023-08-20 02:28:22 +00:00
games fix new GCC 12 warning that can't happen by forcing unsigned context for 2023-08-01 07:55:57 +00:00
include time.h: fix typo in comment 2023-08-19 08:54:36 +00:00
lib lib/Makefile: Hook libgmp also for MKGDB=yes build 2023-08-20 02:07:54 +00:00
libexec ld.elf_so: Split hash functions into a separate file. 2023-07-30 09:20:14 +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 fix potentially uninitialised data being used. 2023-08-07 23:27:07 +00:00
share bsd.own.mk: Put gdb back for m68000 2023-08-20 02:11:21 +00:00
sys fix locking: eliminate using mutex_owned() (Theodore Preduta) 2023-08-20 18:09:25 +00:00
tests Tests for the compat_linux inotify framework from GSoC 2023 (Theodore Preduta) 2023-08-19 22:56:43 +00:00
tools gdb/mknative: Preset yes to rename(2) checks 2023-08-20 02:30:58 +00:00
usr.bin make.1: note that %s should only be used with :localtime 2023-08-20 19:58:15 +00:00
usr.sbin npfctl: adapt to new libpcap API 2023-08-18 14:26:50 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile more NBUILDJOBS deprecation 2023-06-11 10:43:51 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Warn to clean gcc objectdirs for updated compiler. 2023-07-19 17:49:40 +00:00
build.sh build.sh: use mk.conf (if present) as MAKECONF 2023-07-18 16:59:57 +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