[Git][ghc/ghc][wip/T25691] ghc-toolchain: Parse i686 triples

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Tue Jan 28 21:28:16 UTC 2025



Ben Gamari pushed to branch wip/T25691 at Glasgow Haskell Compiler / GHC


Commits:
f207268d by Ben Gamari at 2025-01-28T16:28:00-05:00
ghc-toolchain: Parse i686 triples

This is a moniker used for later 32-bit x86 implementations
(Pentium Pro and later).

Fixes #25691.

- - - - -


1 changed file:

- utils/ghc-toolchain/src/GHC/Toolchain/ParseTriple.hs


Changes:

=====================================
utils/ghc-toolchain/src/GHC/Toolchain/ParseTriple.hs
=====================================
@@ -36,6 +36,7 @@ parseArch :: Cc -> String -> M Arch
 parseArch cc arch =
     case arch of
       "i386" -> pure ArchX86
+      "i686" -> pure ArchX86
       "x86_64" -> pure ArchX86_64
       "amd64" -> pure ArchX86_64
       "powerpc" -> pure ArchPPC



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f207268de2c61b7ec00d5a663288610b9ad98d6e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f207268de2c61b7ec00d5a663288610b9ad98d6e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250128/f5bde0af/attachment-0001.html>


More information about the ghc-commits mailing list