rust/mk/cfg
bors e3bcddb44b Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichton
This pull request adds support for [Illumos](http://illumos.org/)-based operating systems: SmartOS, OpenIndiana, and others. For now it's x86-64 only, as I'm not sure if 32-bit installations are widespread. This PR is based on #28589 by @potatosalad, and also closes #21000, #25845, and #25846.

Required changes in libc are already merged: https://github.com/rust-lang-nursery/libc/pull/138

Here's a snapshot required to build a stage0 compiler:
https://s3-eu-west-1.amazonaws.com/nbaksalyar/rustc-sunos-snapshot.tar.gz
It passes all checks from `make check`.

There are some changes I'm not quite sure about, e.g. macro usage in `src/libstd/num/f64.rs` and `DirEntry` structure in `src/libstd/sys/unix/fs.rs`, so any comments on how to rewrite it better would be greatly appreciated.

Also, LLVM configure script might need to be patched to build it successfully, or a pre-built libLLVM should be used. Some details can be found here: https://llvm.org/bugs/show_bug.cgi?id=25409

Thanks!

r? @brson
2016-02-03 22:40:32 +00:00
..
aarch64-apple-ios.mk
aarch64-linux-android.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
aarch64-unknown-linux-gnu.mk
arm-linux-androideabi.mk
arm-unknown-linux-gnueabi.mk Fix arm-unknown-linux-gnueabi floating-point ABI 2016-01-09 14:25:02 +01:00
arm-unknown-linux-gnueabihf.mk
armv7-apple-ios.mk
armv7-unknown-linux-gnueabihf.mk Fix the armv7 linux target 2016-01-31 22:26:34 +01:00
armv7s-apple-ios.mk mk: Remove the -mfpu=vfp4 argument from arm iOS 2016-01-27 22:34:26 -08:00
i386-apple-ios.mk
i686-apple-darwin.mk
i686-linux-android.mk New cross target: i686-linux-android 2015-08-23 15:38:11 +08:00
i686-pc-windows-gnu.mk Remove STARTUP_OBJS from Makefile deps for non win-gnu targets. 2015-12-08 14:56:22 +01:00
i686-pc-windows-msvc.mk
i686-unknown-freebsd.mk Fixes #30333 by removing the -arch i386 form the right spot 2015-12-11 10:53:04 -08:00
i686-unknown-linux-gnu.mk
le32-unknown-nacl.mk Add PNaCl target info to the makefile target cfgs and initialize the PNaCl target 2015-12-19 00:26:53 -06:00
mips-unknown-linux-gnu.mk rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mips-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
mipsel-unknown-linux-gnu.mk rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mipsel-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
powerpc64-unknown-linux-gnu.mk mk: Fix compiling jemalloc for powerpc64 2016-01-29 12:23:17 -08:00
powerpc64le-unknown-linux-gnu.mk Add powerpc64 and powerpc64le support 2016-01-13 01:39:00 +00:00
powerpc-unknown-linux-gnu.mk
x86_64-apple-darwin.mk
x86_64-apple-ios.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
x86_64-pc-windows-gnu.mk Remove STARTUP_OBJS from Makefile deps for non win-gnu targets. 2015-12-08 14:56:22 +01:00
x86_64-pc-windows-msvc.mk
x86_64-rumprun-netbsd.mk Add support for the rumprun unikernel 2015-09-26 14:10:14 +02:00
x86_64-sun-solaris.mk Add Illumos support 2016-01-31 18:57:26 +03:00
x86_64-unknown-bitrig.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
x86_64-unknown-dragonfly.mk
x86_64-unknown-freebsd.mk
x86_64-unknown-linux-gnu.mk
x86_64-unknown-linux-musl.mk Make sure rsbegin.o and rsend.o get packaged with target lib artifacts. 2015-11-07 17:56:55 -08:00
x86_64-unknown-netbsd.mk Various fixes for NetBSD/amd64 2015-09-21 21:50:54 +02:00
x86_64-unknown-openbsd.mk openbsd: use specific linker for building 2015-12-20 07:21:36 +01:00