From c8fef83569d8b39b7d8a634579d75b091980d9e9 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Fri, 26 Jan 2018 13:31:21 -0800 Subject: Fix FreeBSD build and update build instructions (#15998) Move test code include in global CMakeLists before PAL runtime includes to avoid conflicts between PAL and system headers. (ForeignThreadExceptionsNative.cpp -> thread -> functional -> memory -> cassert -> pal rt "assert.h".) Drop no longer needed remove_definitions lines -- they're only set by the clrdefinitions.cmake include later in the file. Update build instructions to include needed components (ninja, lttng-ust, python27). Add missing ElfW() definition when libunwind does not define it. FreeBSD alloca() is defined in stdlib.h, so include that instead of alloca.h on FreeBSD. --- Documentation/building/freebsd-instructions.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation/building') diff --git a/Documentation/building/freebsd-instructions.md b/Documentation/building/freebsd-instructions.md index e925f6b539..9d29a930cb 100644 --- a/Documentation/building/freebsd-instructions.md +++ b/Documentation/building/freebsd-instructions.md @@ -23,6 +23,9 @@ Install the following packages for the toolchain: - libunwind - gettext - icu +- ninja (optional) +- lttng-ust +- python27 To install the packages you need: -- cgit v1.2.3