mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Fork of the OpenLibm math library with fx-9860G and fx-CG 50 support.
2870ed32b3
With this patch I have been able to successfully compile Openlibm on OpenBSD 5.7 (x86_64) using the following command: gmake GCC=egcc GXX=eg++ USEGCC=1 ARCH=x86_64 (I had to install gcc 4.9 from ports, as Openlibm does not compile with the default compiler shipped with OpenBSD 5.7, which is gcc 4.2.1). |
||
---|---|---|
amd64 | ||
arm | ||
bsdsrc | ||
i387 | ||
include | ||
ld80 | ||
ld128 | ||
src | ||
test | ||
.gitignore | ||
.mailmap | ||
.travis.sh | ||
.travis.yml | ||
LICENSE.md | ||
Make.inc | ||
Makefile | ||
openlibm.pc.in | ||
README.md |
OpenLibm
OpenLibm is an effort to have a high quality, portable, standalone
C mathematical library (libm
).
It can be used standalone in applications and programming language
implementations.
The project was born out of a need to have a good libm
for the
Julia programming langage that worked
consistently across compilers and operating systems, and in 32-bit and
64-bit environments.
Platform support
OpenLibm builds on Linux, Mac OS X, Windows, and FreeBSD. It builds with both GCC and clang. Although largely tested on x86, it also includes experimental support for ARM.
Build instructions
- Use
make
to build OpenLibm. - Use
make USEGCC=1
to build with GCC. This is the default on Linux and Windows. - Use
make USECLANG=1
to build with clang. This is the default on OS X and FreeBSD. - Use
make ARCH=i386
to build for i386. Other supported architectures are i486, i586, i686, x86_64, and various arm architectures.