]> git.lizzy.rs Git - rust.git/commit
auto merge of #10964 : cartazio/rust/gcc-detector, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Dec 2013 03:16:43 +0000 (19:16 -0800)
committerbors <bors@rust-lang.org>
Tue, 17 Dec 2013 03:16:43 +0000 (19:16 -0800)
commitc2c2c4d6f3dae07134858266b7f037ea110a6f82
tree75777f7b1681d95b097d9c6301bd5f5b074f8ef1
parent000cda611f8224ac780fa37432f869f425cd2bb7
parentd9525530482f12f9814f46148ba02d3d1ecebee5
auto merge of #10964 : cartazio/rust/gcc-detector, r=alexcrichton

 @alexcrichton and others: heres a proof of concept patch for configure that (for now is OS X only) checks at the very end of the configure script if ``cc``, ``gcc``, and ``g++`` possibly point to the same compiler or not.

The way its currently done is i call ```cc  --version```, ``gcc --version`` and ``g++ --version`` and check if theres any matchings for the word ``clang``, ``gcc`` or ``g++``.  So it doesn't rule out miss matched gcc versions or the like, but thats a bit more implausible I think.