Platforms

MPC has been written in plain ANSI C with portability in mind and should compile on all platforms where MPFR is available. (Some functions using built-in C complex numbers are exported only on platforms supporting the C99 standard.) The following list has been compiled to help integration of MPC into GCC. The release criteria of GCC 4.8 define primary and secondary platforms; we call all others tertiary.

Version 1.0.*

Unless stated otherwise, the tests have been carried out with version 1.0.0rc1.

Primary platforms

PlatformConfigure nameGCCGMPMPFRComment
arm-linux-gnueabi armv5tel-unknown-linux-gnueabi 4.4.5 4.3.2 3.0.0
i386-unknown-freebsd i386-unknown-freebsd10.0 4.2.1 5.0.5 3.1.0
i686-pc-linux-gnu 4.4.5 4.3.2 3.0.0 gcc45
powerpc64-unknown-linux-gnu 4.6.3 4.3.2 3.0.0 gcc110
sparc-sun-solaris2.10 4.7.1 5.0.5 3.1.1
x86_64-unknown-linux-gnu 4.7.1 5.0.5 3.1.1

Secondary platforms

PlatformConfigure nameGCCGMPMPFRComment
hppa2.0w-hp-hpux11.11 4.1.1 4.3.2 2.4.2
powerpc-ibm-aix5.3.0.0 4.7.1 5.0.5 3.1.1
i686-apple-darwin i386-apple-darwin9.8.0 4.6.3 5.0.90 3.2.0dev
i386-apple-darwin9.8.0 4.0.1 5.0.90 3.2.0dev
i686-pc-cygwin 4.3.4 4.3.2 2.4.2 hydra
4.7.1 5.0.5 3.1.1
i686-mingw32 i686-w64-mingw32 4.7.2 5.0.5 3.1.1
4.5.2 5.0.5 3.1.1
4.7.1 5.0.5 3.1.1 32 and 64 bit
s390-linux-gnu 4.6 5.0.5 3.1.0

Tertiary platforms

SystemConfigure nameGCCGMPMPFRComment
GNU/Linux alphaev68-unknown-linux-gnu 4.5.3 5.0.5 3.1.0
hppa2.0-unknown-linux-gnu 4.3.2 5.0.4 3.2.0dev gcc61
ia64-unknown-linux-gnu 4.4.5 5.0.5 3.1.1 gcc60
m68k-unknown-linux-gnu 4.7.1 5.0.4 3.1.0
mips64el-unknown-linux-gnu 4.4.6 5.0.2 3.1.0 gcc49
sparc64-unknown-linux-gnu 4.3.2 5.0.5 3.1.1 gcc54
FreeBSD powerpc-unknown-freebsd10.0 4.2.1 5.0.5 3.1.0
powerpc64-unknown-freebsd10.0 4.2.1 5.0.5 3.1.0
x86_64-unknown-freebsd10.0 4.2.1 5.0.5 3.1.0
x86_64-unknown-freebsd9.0 4.2.1 5.0.5 3.1.1
NetBSD x86_64-unknown-netbsd5.1 4.1.3 5.0.1 3.0.0 gcc70
Mingw x86_64-w64-mingw32 4.7.2 5.0.5 3.1.1
4.7.0 MPIR 2.5.1 3.1.1
4.7.1 5.0.5 3.1.1
Solaris i386-pc-solaris2.10 4.3.6 5.0.5 3.1.0
sparc-sun-solaris2.8 4.6.3 5.0.1 2.4.2
4.1.2 5.0.1 3.0.0
sparc-sun-solaris2.7 4.5.3 5.0.1 3.0.1
Darwin powerpc-apple-darwin8 4.0.1 5.0.5p 3.1.1 1.0.1
powerpc-apple-darwin9.8.0 4.7.1 5.0.5p 3.1.1
x86_64-apple-darwin11.4.0 4.7.1 5.0.5 3.1.1
x86_64-apple-darwin10.2.0 4.6.3 5.0.90dev 3.2.0dev hydra
x86_64-apple-darwin10 4.8.0 5.0.4 3.1.1
Windows Windows 7 MS C++ MPIR 2.5.0 3.2.0dev

Previous releases

The following additional platforms have been tested with older versions of MPC.

Tertiary platforms

SystemConfigure nameGCCGMPMPFRComment
hurd-i386 i486-pc-gnu 4.3.4 4.3.1 2.4.1 0.8
GNU/Linux alpha-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
mips-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
mipsel-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
powerpc-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
sparc-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
avr32-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
sh4-unknown-linux-gnu 4.3.4 4.3.1 2.4.1 0.8
FreeBSD powerpc-unknown-freebsd8.0 4.2.1 4.2.2 2.3.1 0.7
sparc64-unknown-freebsd9.0 4.2.1 4.2.2 2.3.1 0.7
i486-pc-kfreebsd-gnu 4.3.4 4.3.1 2.4.1 0.8
x86_64-pc-kfreebsd-gnu 4.3.4 4.3.1 2.4.1 0.8
Solaris i386-pc-solaris2.6 4.3.4 4.2.4 2.3.1 0.8
i386-pc-solaris2.8 4.3.4 4.3.1 2.4.2rc1 0.8
i386-pc-solaris2.9 4.3.4 4.3.1 2.4.2rc1 0.8
sparc-sun-solaris2.6 4.3.4 4.2.4 2.3.1 0.8
sparc-sun-solaris2.9 3.4.6 4.2.2 2.3.1 0.8
sparc-sun-solaris2.11 4.1.1 4.2.1 2.3.2 0.8
sparc64-sun-solaris2.8 4.3.3 4.2.4 2.3.2 0.8
sparc64-sun-solaris2.9 3.4.6 4.2.2 2.3.1 0.8
Alpha alpha-dec-osf4.0f 3.4.4 4.2.1 2.3.2 0.8
Darwin i386-apple-darwin10.0.0 4.2.1 4.3.1 2.4.1 0.8
i386-apple-darwin10.4.0 4.2.1 5.0.1 3.0.0 0.8.2
powerpc-apple-darwin9.7.0 4.5.0 (exp.) 4.2.2 2.3.1 0.7
x86_64-apple-darwin9 4.5.0 (exp.) 4.2.2 2.3.1 0.7
Hpux hppa1.1-hp-hpux10.20 4.* 4.3.1 2.4.2 0.8.1
hppa1.1-hp-hpux11.11 4.2.1 4.1.4 2.3.1 0.6
hppa2.0w-hp-hpux11.00 0.8
hppa64-hp-hpux11.00 0.8
hppa64-hp-hpux11.11 4.* 4.3.1 2.4.2 0.8.1
ia64-hp-hpux11.23 4.2.1 4.1.4 2.3.1 0.6
Irix mips-sgi-irix5.3 3.4.6 4.3.1 2.4.1p5 0.8
mips-sgi-irix6.2 4.3.4 4.3.1 2.4.1p5 n32, 0.8
mips-sgi-irix6.5 4.3.1 4.2.1 2.3.1 n32, 0.8