Go to file
rillig 53d7accc5b tests/lint: test integer conversions on ilp32 int platforms 2023-08-08 19:57:23 +00:00
bin tyops: 2023-08-04 15:31:40 +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 openssh: channel_new(): Appease GCC12 -Wmaybe-uninitialized for some archs 2023-08-07 00:44:25 +00:00
dist/pf fix simple mis-matched function prototype and definitions. 2023-08-01 07:04:14 +00:00
distrib lists: Fix build with MKGCCCMDS=no && MKDEBUGLIB=yes 2023-08-08 06:22:31 +00:00
doc CHANGES: remove entry that has been pulled up to netbsd-10 2023-07-29 16:47:28 +00:00
etc add gcc 12 subdirs, remove gcc 9. 2023-08-01 06:46:52 +00:00
external Remove trailing tabs. 2023-08-08 14:38:44 +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 cdbw(3): Make cdbw_output descr parameter type less confusing. 2023-08-08 10:34:08 +00:00
lib libnpf(3): No need for weird padding any more. 2023-08-08 10:36:04 +00:00
libexec ld.elf_so: Split hash functions into a separate file. 2023-07-30 09:20:14 +00:00
regress
rescue
sbin fix potentially uninitialised data being used. 2023-08-07 23:27:07 +00:00
share introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
sys Avoid adding another member to the softc and use sc_flags instead. 2023-08-08 17:31:13 +00:00
tests tests/lint: test integer conversions on ilp32 int platforms 2023-08-08 19:57:23 +00:00
tools mknative support for gdb-13.2 2023-07-31 17:09:59 +00:00
usr.bin introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
usr.sbin traceroute/Makefile: Nix trailing whitespace. 2023-08-08 11:53:47 +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
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