1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/devel/cloudabi-compiler-rt/pkg-descr
Ed Schouten 6fc93807ce Add devel/cloudabi-compiler-rt.
This is the last port that is needed to have a working C toolchain for
CloudABI. C++ still requires libc++, libc++abi and libunwind. These will
be added later.

As mentioned in the comments, we don't use CMake to build compiler-rt,
as this is too hard in this specific instance. CMake sort of depends on
compiler-rt to be present, which is a bit weird.

Differential Revision:	https://reviews.freebsd.org/D2892
Reviewed by:	bapt
2015-06-23 19:27:36 +00:00

10 lines
460 B
Plaintext

The compiler-rt library provides fallback routines for mathematical
functions that are not implemented in hardware. For example, when
compiling for a 32-bit target, converting a double to a 64-bit unsigned
integer is compiling into a runtime call to the "__fixunsdfdi" function.
This library is a prerequisite for having a working CloudABI toolchain,
as Clang attempts to link this library into executables unconditionally.
WWW: http://compiler-rt.llvm.org/