Go to file
sjg aa03bcf7d6 Pass a writable flag to Main_SetObjdir to control writable check
For curdir and an explicit .OBJDIR target, we allow for
the directory to be read-only.
During InitObjdir we otherwise default to requiring objdir to be
writable - this can be controlled by env variable
MAKE_OBJDIR_CHECK_WRITABLE

Add unit-tests/objdir-writable

Reviewed by: christos rillig
2020-11-12 23:35:21 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto eliminate direct use of _res for threaded programs. 2020-11-12 19:43:18 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Hook up font-liberation-ttf to the build. 2020-11-12 22:28:02 +00:00
doc Note better kern.maxfiles defaults. 2020-11-12 12:19:46 +00:00
etc Add /var/games/warp 2020-11-11 19:56:09 +00:00
external Hook up font-liberation-ttf to the build. 2020-11-12 22:28:02 +00:00
extsrc
games Avoid common symbols. Use __dead. 2020-11-12 22:23:16 +00:00
include - remove bitypes.h fossil 2020-10-10 19:51:48 +00:00
lib Catch up with aa64 is not mips change 2020-11-10 19:14:11 +00:00
libexec New sentence, new line. Fix xref. 2020-10-15 09:54:22 +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 file systems that are used as what spools? 2020-10-24 10:51:34 +00:00
share Revert addition of pthread dependency on sqlite. 2020-11-12 17:53:43 +00:00
sys PR kern/55779: 2020-11-12 13:13:45 +00:00
tests PR 55338: re-enable threxec test for more test coverage. 2020-11-08 08:54:50 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin Pass a writable flag to Main_SetObjdir to control writable check 2020-11-12 23:35:21 +00:00
usr.sbin Revert addition of pthread dependency on sqlite. 2020-11-12 17:53:43 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +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 about mips kernel modules breaking update builds 2020-10-17 07:41:25 +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