Go to file
riastradh 44773f2a69 Define _LP64 or _ILP32 for all architectures.
Rather than write out a table for each architecture, rely on the C
compiler to define _LP64 for 64-bit ones, on the assumption that
anything not LP64 is ILP32, and on CTASSERTs to verify this
assumption so that if it's wrong it'll fail safely with a noisy build
failure.

Gives zfs half a chance of building on, e.g., powerpc.
2018-11-14 17:09:08 +00:00
bin PR bin/53712 2018-11-09 02:11:04 +00:00
common add support to detect the 3 vmware GPT partition types: 2018-11-06 04:04:33 +00:00
compat don't build kernel grovelling tools as n64 on sgimips - we don't actually have 2018-09-20 02:51:21 +00:00
crypto Fix some error handling, json support, keyring handling. 2018-11-13 14:52:30 +00:00
dist/pf Add a deprecation note in each of the PF man pages (instead of just pf.4), 2018-08-17 12:36:53 +00:00
distrib Add debug files for recent xserver addition 2018-11-14 08:44:34 +00:00
doc note GCC 6.5 was released (and imported.) 2018-11-11 23:04:27 +00:00
etc install kernel for ppc601 floppies and iso 2018-11-12 20:07:47 +00:00
external Define _LP64 or _ILP32 for all architectures. 2018-11-14 17:09:08 +00:00
extsrc
games Advice from Bob Morris 2018-10-03 00:13:16 +00:00
include PR standards/53525: move getsubopt() to stdlib.h 2018-08-15 10:21:42 +00:00
lib Too much magic involved - revert previous. 2018-11-13 09:24:37 +00:00
libexec sysctl(KERN_BOOTTIME) is a struct timespec, not struct timeval 2018-10-30 21:18:39 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue Remove the userland part of ISDN. The kernel part is untouched for now. 2018-09-23 07:24:19 +00:00
sbin In validate_bootsel, the code assumed that arr[j][i] can be accessed 2018-11-14 12:05:29 +00:00
share disorder police 2018-11-11 18:02:23 +00:00
sys Define __HAVE_PCI_MSI_MSIX 2018-11-14 11:02:52 +00:00
tests let ATF detect a bug fixed by if_vla.c:r1.132. 2018-11-14 05:07:48 +00:00
tools our GCC 6.5 is "nb4 20181109". 2018-11-11 23:05:25 +00:00
usr.bin use the data size in case stdout was a pipe (M. Levinson) 2018-11-11 01:42:36 +00:00
usr.sbin Slightly enhance previous: create two utility functions checking for 2018-11-14 02:30:00 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +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 Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note that we need to clean objdir for the OpenSSL update. 2018-09-24 13:18:35 +00:00
build.sh Add some aliases (from phone) 2018-08-09 08:30:29 +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