rust/mk
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
..
cfg Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichton 2016-02-03 22:40:32 +00:00
clean.mk Added missing argument to 'find' 2015-10-27 23:47:53 +13:00
crates.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
ctags.mk Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debuggers.mk
dist.mk mk: Fix make dist 2015-12-04 08:55:02 -08:00
docs.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
grammar.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
host.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
install.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
llvm.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
main.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
platform.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
prepare.mk Fix --libdir installs 2015-11-16 18:55:07 -05:00
reconfig.mk
rt.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
rustllvm.mk
snap.mk Remove extra eval call in snap.mk 2015-11-13 15:15:51 -05:00
stage0.mk
target.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
tests.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
util.mk