Go to file
rillig 61e921f9ea lint: in C99 mode, complain about implicitly declared functions
C99, foreword, p5, item 22 lists among the major changes from C90:
"remove implicit function declaration".
2021-06-28 11:27:00 +00:00
bin use parsenum like everywhere else in the code. 2021-06-04 22:39:41 +00:00
common Whitespace 2021-06-28 09:00:45 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto remove generated files, custom #define prefixes to hide lex/yacc symbols 2021-06-20 12:01:07 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib lint: require C11 for _Generic 2021-06-27 19:10:29 +00:00
doc lint1: add bug report for internal GCC compiler error 2021-06-23 07:11:41 +00:00
etc run sysctl early enough. 2021-06-13 10:14:40 +00:00
external PR toolchain/56180. Add configuration so that gcc can find the LTO 2021-06-28 09:13:10 +00:00
extsrc
games SIGINFO is a useful tip 2021-06-04 11:18:31 +00:00
include Add external attribute dumping and restoring support from FreeBSD. 2021-06-19 13:56:34 +00:00
lib Fix PR lib/55931 2021-06-27 23:57:08 +00:00
libexec ld.elf_so(1): Omit needless membar_enter. 2021-06-16 21:53:51 +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 restore(8): Mark fail_dirtmp __dead to fix clang build. 2021-06-23 14:22:08 +00:00
share boot.8: minor grammar tweaks 2021-06-22 03:39:21 +00:00
sys Since there's a bit of code that is conditionally compiled based on 2021-06-27 22:41:55 +00:00
tests lint: in C99 mode, complain about implicitly declared functions 2021-06-28 11:27:00 +00:00
tools avoid triggering conflict indicator warnings 2021-06-28 07:18:01 +00:00
usr.bin lint: in C99 mode, complain about implicitly declared functions 2021-06-28 11:27:00 +00:00
usr.sbin fix proplib deprecation 2021-06-21 03:04:27 +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
README.md use libera.chat-hosted kiwiirc 2021-05-29 13:08:08 +00:00
UPDATING add a note about potential GCC 9->10 build failures 2021-04-17 04:08:32 +00:00
build.sh Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +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