Duncan Coutts pushed to branch wip/dcoutts/windows-dlls at Glasgow Haskell Compiler / GHC Commits: 56d12f83 by Duncan Coutts at 2026-01-06T17:55:31+00:00 Try enabling -dynamic-too on Windows It ought to work, and otherwise we have to teach hadrian how to build without using -dynamic-too. - - - - - 1 changed file: - compiler/GHC/Driver/Session.hs Changes: ===================================== compiler/GHC/Driver/Session.hs ===================================== @@ -3588,7 +3588,7 @@ compilerInfo dflags ("target has RTS linker", showBool $ platformHasRTSLinker platform), ("Target default backend", show $ platformDefaultBackend platform), -- Whether or not we support @-dynamic-too@ - ("Support dynamic-too", showBool $ not isWindows), + ("Support dynamic-too", "YES"), -- Whether or not we support the @-j@ flag with @--make@. ("Support parallel --make", "YES"), -- Whether or not we support "Foo from foo-0.1-XXX:Foo" syntax in @@ -3623,7 +3623,6 @@ compilerInfo dflags showBool True = "YES" showBool False = "NO" platform = targetPlatform dflags - isWindows = platformOS platform == OSMinGW32 expandDirectories = expandToolDir (toolDir dflags) . expandTopDir (topDir dflags) query :: (Target -> a) -> a query f = f (rawTarget dflags) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/56d12f83a4cbebac68fc8b8cb30cdd3a... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/56d12f83a4cbebac68fc8b8cb30cdd3a... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Duncan Coutts (@dcoutts)