Go to file
martin 15ad984ba1 Pull up following revision(s) (requested by uwe in ticket #1584):
lib/libc/thread-stub/thread-stub.c: revision 1.31

change libc sched_yield() stub to actually still call the syscall
instead of doing nothing when app is not linked with pthread; this matches
other systems

suggested by Mateusz Guzik in:
http://mail-index.netbsd.org/tech-kern/2020/07/19/msg026620.html
2023-02-04 16:19:20 +00:00
bin Pull up following revision(s) (requested by kre in ticket #1549): 2022-10-27 16:14:42 +00:00
common Pull up following revision(s) (requested by skrll in ticket #1567): 2023-01-19 10:37:03 +00:00
compat Apply patch, requested by mrg in ticket #1309 (no corresponding 2021-06-21 17:40:43 +00:00
crypto Pull up following revision(s) (requested by martin in ticket #1463): 2022-06-06 03:07:03 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Pull up the following, requested by kre in ticket #1546: 2022-10-20 13:18:53 +00:00
doc Ticket #1583 2023-02-04 14:42:43 +00:00
etc Backout previous pullup from ticket #1377: 2021-11-26 18:04:09 +00:00
external Apply patch, requested by mrg in ticket #1577: 2023-01-23 13:43:07 +00:00
extsrc
games Pull up following revision(s) (requested by sevan in ticket #969): 2020-06-21 10:39:58 +00:00
include Pull up following revision(s) (requested by wiz in ticket #1484): 2022-08-03 10:42:02 +00:00
lib Pull up following revision(s) (requested by uwe in ticket #1584): 2023-02-04 16:19:20 +00:00
libexec Pull up following revision(s) (requested by martin in ticket #1531): 2022-09-18 00:09:52 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Pull up following revision(s) (requested by maya in ticket #435): 2019-11-17 07:04:33 +00:00
sbin Pull up following revision(s) (requested by hannken in ticket #1560): 2023-01-03 18:22:09 +00:00
share Pull up following revision(s) (requested by thorpej in ticket #1580): 2023-01-30 11:35:15 +00:00
sys Pull up following revision(s) (requested by tsutsui in ticket #1582): 2023-02-01 19:00:53 +00:00
tests Pull up following revision(s) (requested by thorpej in ticket #1353): 2021-10-04 14:48:25 +00:00
tools Pull up following revision(s) (requested by mrg in ticket #1049): 2020-08-14 11:02:42 +00:00
usr.bin Pull up following revision(s) (requested by uwe in ticket #1576): 2023-01-23 13:17:27 +00:00
usr.sbin Pull up the following revisions, requested by msaitoh in ticket #1575: 2023-01-23 13:04:11 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Pull up following revision(s) (requested by kamil in ticket #126): 2019-09-01 10:44:22 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note update hickup build issue for uefi boot. 2019-07-27 07:55:18 +00:00
build.sh Pull up following revision(s) (requested by mrg in ticket #1423): 2022-02-02 14:23:11 +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