Go to file
rillig 701a9913ea lint: make check_precedence_confusion simpler
In C, only binary operators have possibly confusing precedence.  All
binary operators have lower precedence than an explicit cast.  When an
expression is parsed, the parentheses are associated with the innermost
possible node.  This means that as soon as a cast operator is
parenthesized, its contained expression can no longer have confusing
precedence.

This allows the code to be written more succinct since the local
variables are no longer necessary.
2021-01-05 17:37:57 +00:00
bin df: add grand total option 2021-01-03 01:43:12 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto
dist/pf
distrib add dts for odroid-N2 plus 2021-01-02 11:36:36 +00:00
doc evbarm: Add support for Amlogic G12 family SoCs 2021-01-01 10:12:25 +00:00
etc If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling. 2020-12-29 16:46:44 +00:00
external Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
extsrc
games set the cursor to invisible 2021-01-02 12:12:26 +00:00
include
lib Implement support for trapping REP CMPS instructions in NVMM. 2020-12-27 20:56:14 +00:00
libexec
regress
rescue
sbin route(8): group RTF_GATEWAY and ~RTF_GATEWAY (-iface). 2021-01-02 22:02:27 +00:00
share Better grammar. 2021-01-04 18:27:46 +00:00
sys Misc KNF. NFCI. 2021-01-05 16:30:37 +00:00
tests lint: fix bug in "precedence confusion possible [169]" 2021-01-04 23:50:46 +00:00
tools
usr.bin lint: make check_precedence_confusion simpler 2021-01-05 17:37:57 +00:00
usr.sbin sync cpuids[] of sys/arch/aarch64/aarch64/cpu.c r1.43 2021-01-04 05:35:14 +00:00
BUILDING
Makefile
Makefile.inc
README.md
UPDATING
build.sh

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