Go to file
thorpej 8319f966d5 Fix building libprop as a host tool library on platforms that don't have
the Matt Thomas rbtree:

- Include rb.c in libnbcompat, and provide a nbcompat sys/rbtree.h
  header.
- Make sure libprop's source file include prop_object_impl.h before
  anything else, and pull in nbtool_config.h from there.

Tested by simulating such a host system by renaming the host's
<sys/rbtree.h> out of the way (which reproduced the build failure)
and verifying that the host-tool installboot contained the rb_*
functions in its own .text segment.
2019-05-08 02:25:50 +00:00
bin When a return occurs in the test part of a loop statement (while/until) 2019-05-04 02:52:55 +00:00
common Fix building libprop as a host tool library on platforms that don't have 2019-05-08 02:25:50 +00:00
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 2019-04-18 10:07:07 +00:00
crypto one more noreturn 2019-04-28 14:45:13 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Add installboot(8) support for evbarm (and, in the future, other evb*) 2019-05-07 05:02:41 +00:00
doc add more 2019-05-08 01:08:18 +00:00
etc Add installboot(8) support for evbarm (and, in the future, other evb*) 2019-05-07 05:02:41 +00:00
external Cleanup modules "solaris" and "zfs": 2019-05-07 08:51:09 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
lib Make CLEANFILES actually work. .TARGET is not defined when not in a target 2019-05-07 18:45:37 +00:00
libexec r_symndx is no longer declared, use symnum and initialize it before use. 2019-04-15 19:13:03 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Add a -z flag to zero out the up to 4 bytes of padding in directory entry 2019-05-05 14:59:06 +00:00
share obsolete moscom(4). it was never in any default configs, did 2019-05-07 22:00:10 +00:00
sys Add slop of 1000 and explain why. 2019-05-08 00:55:18 +00:00
tests fix unused variable warnings. 2019-05-06 00:08:13 +00:00
tools Fix building libprop as a host tool library on platforms that don't have 2019-05-08 02:25:50 +00:00
usr.bin You don't have to be _LP64 to run 32 bit binaries. You can be mips (64 bit 2019-05-06 19:20:13 +00:00
usr.sbin Fix typos. Fix link. Use Pa for path. 2019-05-07 08:14:59 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh on netbsd when defaulting to the native system, also derived MACHINE_ARCH 2019-05-02 02:51:01 +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