Go to file
christos c510facea2 Instead of compiling files with -fcommon, create an include file and declare
the 3 symbols that need to be common using an attribute. Put all the 3 symbol
definitions in libc in one place (initfini.c). Reviewed by joerg@
2021-04-20 21:42:31 +00:00
bin Remove SCCS workaround. No binary change. 2021-04-17 08:35:33 +00:00
common Add CVS ID line. 2021-04-19 01:12:10 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto Merge local changes between 8.5 and 8.6 2021-04-19 14:40:15 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib bump libssh 2021-04-19 14:41:18 +00:00
doc new OpenSSH 2021-04-19 14:42:18 +00:00
etc create the gcc-10 subdirs, and don't create the gcc-8 ones. 2021-04-12 02:09:27 +00:00
external tmux: move __printflike to the declaration in the header 2021-04-20 17:42:31 +00:00
extsrc
games one port complains about string overflow here that i can't see. 2021-04-15 01:55:21 +00:00
include - Replace REG_ENOSYS (unused) with REG_ILLSEQ. 2021-02-23 17:14:42 +00:00
lib Instead of compiling files with -fcommon, create an include file and declare 2021-04-20 21:42:31 +00:00
libexec bozohttpd: fix argument type for functions from <ctype.h> 2021-04-08 07:02:11 +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 The -n flag is useless with -g, don't mention it. 2021-04-18 19:56:09 +00:00
share Switch hppa to gcc 10 2021-04-18 20:32:49 +00:00
sys KNF 2021-04-20 10:15:34 +00:00
tests tests/lint1: fix build error "must name an existing directory" 2021-04-20 21:20:24 +00:00
tools add a netbsd version for GCC 10. properly generate omp-device-properties.h. 2021-04-11 23:55:47 +00:00
usr.bin make: do not complain when skipping the condition 'no >= 10' 2021-04-19 23:51:42 +00:00
usr.sbin - Remove obsolete cltom(9) and mtocl(9). 2021-04-16 07:45:41 +00:00
build.sh Modify the generated make wrapper to avoid complaints about 2021-01-28 10:36: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 Improve URL consistency 2021-03-17 15:26:20 +00:00
UPDATING add a note about potential GCC 9->10 build failures 2021-04-17 04:08:32 +00:00

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