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 Very hacky MSVC hacks. 2015-05-12 14:50:36 -07:00
aarch64-linux-android.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
aarch64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
arm-linux-androideabi.mk Splits Android NDK path configuration. 2015-07-28 19:21:04 +12:00
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 mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
armv7-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
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 mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i686-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
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 Register new snapshots 2015-08-11 15:11:13 -07:00
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 mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
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
powerpc-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07: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
x86_64-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
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 Register new snapshots 2015-08-11 15:11:13 -07:00
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 mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-freebsd.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
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