Commits on Source (3)
-
Rodrigo Mesquita authored05c6593c
-
Rodrigo Mesquita authored4d41a8f5
-
Rodrigo Mesquita authored
It's not uncommon for users to specify a particular C compiler but not the C++ compiler. An example of this is `configure` invoking ghc-toolchain for the HOST target configuration, but only configuring a CC_STAGE0, not a CXX_STAGE0 We instruct ghc-toolchain to be a bit cleverer here, by trying the C compiler as a fallback C++ compiler if none is otherwise found. It might be that the C compiler program is a collection of compilers that also support C++, such as gcc or clang.
72cbbaf8
Showing
- utils/ghc-toolchain/CHANGELOG.md 7 additions, 0 deletionsutils/ghc-toolchain/CHANGELOG.md
- utils/ghc-toolchain/Main.hs 1 addition, 1 deletionutils/ghc-toolchain/Main.hs
- utils/ghc-toolchain/ghc-toolchain.cabal 1 addition, 0 deletionsutils/ghc-toolchain/ghc-toolchain.cabal
- utils/ghc-toolchain/src/GHC/Toolchain/ParseTriple.hs 1 addition, 0 deletionsutils/ghc-toolchain/src/GHC/Toolchain/ParseTriple.hs
- utils/ghc-toolchain/src/GHC/Toolchain/Tools/Cxx.hs 6 additions, 3 deletionsutils/ghc-toolchain/src/GHC/Toolchain/Tools/Cxx.hs
utils/ghc-toolchain/CHANGELOG.md
0 → 100644