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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alnsn a58133a5b6 Kill unused sc variable and fix the build. 7 hours ago
bin When a return occurs in the test part of a loop statement (while/until) 2 weeks ago
common Fix bug, the computation of cpuset_nentries was incorrect, we must do +1 to be able to address the last 32 bits. 1 week ago
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 1 month ago
crypto one more noreturn 3 weeks ago
dist/pf - enlarge buffer to avoid snprintf() truncation 3 months ago
distrib Add experimental userland interface to IPMI driver. Currently, transactions (like sensor readout) are locked, so that a userland program may interfere with envsys operation. 1 day ago
doc ifmedia(4): Extend Ethernet's ifmedia word's subword up to 255. 2 days ago
etc Add experimental userland interface to IPMI driver. Currently, transactions (like sensor readout) are locked, so that a userland program may interfere with envsys operation. 1 day ago
external Fix MKCOMPATX11 build 3 days ago
extsrc Top level reach-over directory for extsrc. 9 years ago
games Report the users score _after_ the game has ended and the screen has 2 months ago
include Don't install YP headers when MKYP=no 3 weeks ago
lib Prevent Lua from crashing if clear_bindings() is called on a statement that failed to prepare(). 3 days ago
libexec r_symndx is no longer declared, use symnum and initialize it before use. 1 month ago
regress Eliminate regress/libexec/ld.elf_so/expand 1 month ago
rescue fix duplicated chunk from merge 3 months ago
sbin Sort SEE ALSO. 1 week ago
share Don't mention SVS because it can't be changed anymore. 1 day ago
sys Kill unused sc variable and fix the build. 7 hours ago
tests Add explanatory text 4 days ago
tools sync with latest. 17 hours ago
usr.bin Sort options in usage. 12 hours ago
usr.sbin Document name_desc attribute of mandb_links. 1 day ago
BUILDING Fix a typo 1 week ago
Makefile .WAIT for tools to complete. 6 months ago
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 1 year ago
README.md Tidy up a bit. 6 months ago
UPDATING add a quick note about gcc 7 likely causing update build failures. 3 months ago
build.sh on netbsd when defaulting to the native system, also derived MACHINE_ARCH 2 weeks ago

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

Additional Links