Go to file
rillig 8c3513b970 lint: remove commented code from new_tnode
The approach in that code was wrong anyway.  If an expression is shifted
to the right, that doesn't change the declared type of the expression,
it only changes the possible range of values.  A better way to implement
these restricted value spaces is by using integer_constraints.

No functional change.
2023-01-28 00:12:00 +00:00
bin More markup errors. \+ was intended to be \&+ and .EV .Ev of course. 2022-12-20 17:51:54 +00:00
common Fix two signed comparisons that were missed in the last patch. 2023-01-24 07:04:27 +00:00
compat
crypto Correct lost change in the merge (Anthony Mallet) 2022-12-01 22:57:37 +00:00
dist/pf
distrib make: .[NO]READONLY for control of read-only variables 2023-01-23 23:01:52 +00:00
doc new bind 2023-01-25 21:45:37 +00:00
etc tests/lint: add basic tests for lint (not lint1 or lint2) 2023-01-15 23:18:05 +00:00
external When trying to scrub characters in a macro to convert: 2023-01-27 23:36:04 +00:00
games quiz: fix wrong usage of the <ctype.h> functions 2023-01-22 17:19:11 +00:00
include scandir(3) and alphasort(3) are part of POSIX-2008, so don't require 2022-12-28 11:51:21 +00:00
lib fmtmsg.3: fix typo 2023-01-22 13:38:48 +00:00
libexec fix the ldd build 2023-01-12 19:17:11 +00:00
regress
rescue
sbin Use opendisk when looking for filesystem type, otherwise the detection 2023-01-24 08:09:37 +00:00
share +ABE attribute-based encryption 2023-01-26 22:20:16 +00:00
sys Use proper uintNN_t integer types. 2023-01-27 23:29:14 +00:00
tests tests/lint: merge tests for declaration after statement 2023-01-22 17:17:24 +00:00
tools Disable enabling executable stack when the gnu stack note is missing. 2023-01-18 12:52:55 +00:00
usr.bin lint: remove commented code from new_tnode 2023-01-28 00:12:00 +00:00
usr.sbin flashctl: use consistent markup in usage message 2023-01-08 16:01:49 +00:00
BUILDING fix documentation for MKLINT 2022-10-01 08:55:45 +00:00
Makefile
Makefile.inc
README.md
UPDATING Note dependency of new binutils on new ld.elf_so for unsupported 2023-01-16 08:49:55 +00:00
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