Go to file
rillig cf5349557c make(1): clean up API for finding and creating GNodes
The previous API had complicated rules for the cases in which the single
function returned NULL or what it did.  The flags for that function were
confusing since passing TARG_NOHASH would create a new node even though
TARG_CREATE was not included in that bit mask.

Splitting the function into 3 separate functions avoids this confusion.
It also reveals several places where the complicated API led to
unreachable code.  Such code has been removed.
2020-09-26 16:00:12 +00:00
bin Remove superfluous Ed. 2020-09-18 07:21:26 +00:00
common Re-do previous aarch64eb strlen fix more simply and correctly. 2020-09-09 14:49:27 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto build the 32 bit aesfx-sparcv9.S for sparc64 32 bit comapt libs. 2020-09-15 09:22:32 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib G/C arm/atomic.h 2020-09-26 10:06:25 +00:00
doc note mpc (1.2.0) and mpfr (4.1.0) have new versions and are also 2020-09-26 07:59:18 +00:00
etc GENERIC.MP is no more. GENERIC defaults to MULTIPROCESSOR now. 2020-09-19 03:29:57 +00:00
external Moving pointers could fail if realloc() allocates a new memory region 2020-09-26 11:39:17 +00:00
extsrc
games avoid uninit memory and use memmove vs strncpy for a will be 2020-09-07 00:31:11 +00:00
include remove getentropy bits 2020-09-22 21:37:47 +00:00
lib remove getentropy bits 2020-09-22 21:37:47 +00:00
libexec Correct r_ldbase valuse 2020-09-22 00:41:27 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin ifconfig: test cases want LINK_STATE_UNKNOWN to be treated as up. 2020-09-23 10:48:12 +00:00
share Switch GDB on i386 to 1100 2020-09-23 23:39:18 +00:00
sys RCSId police 2020-09-26 14:18:06 +00:00
tests update test cases for AC-Name and Service-Name 2020-09-25 06:15:30 +00:00
tools grab the gdbserver version 2020-09-24 14:53:17 +00:00
usr.bin make(1): clean up API for finding and creating GNodes 2020-09-26 16:00:12 +00:00
usr.sbin fstyp: Sync hammer2_disk.h with DragonFly BSD 2020-09-23 14:39:23 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note mpfr needs a cleaning. 2020-09-26 08:02:35 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +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