[GHC] #13412: Centralize the definition for GHC's libdir on Windows

#13412: Centralize the definition for GHC's libdir on Windows ----------------------------------------+---------------------------- Reporter: Elieux | Owner: (none) Type: task | Status: new Priority: low | Milestone: Component: None | Version: 8.0.2 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: Other Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+---------------------------- The location of GHC libraries on Windows is currently something like `$bindir/../lib` (because the whole distribution can be put anywhere on the filesystem, there are no absolute paths), but this information is hard-coded in multiple places instead of being defined in one place. To be clear, I mean only the relative path (`../lib`); the base still needs to be determined at runtime. I assume that tools that can rely on `ghc --info` (or equivalent) already do that. If there are any that don't, they should be fixed regardless. The build system, ghc, ghc-cabal, ghc-pkg, hsc2hs, haddock... should all be able to get the relative path from `configure`'s output. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13412 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13412: Centralize the definition for GHC's libdir on Windows ----------------------------+---------------------------------------- Reporter: Elieux | Owner: (none) Type: task | Status: new Priority: low | Milestone: Component: None | Version: 8.0.2 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------+---------------------------------------- Comment (by Elieux): Some of the hard-coded places can be seen here: https://github.com/elieux /MINGW-packages/commit/2b70b3985c94fde31d9086c85ffc5297f89f4e47 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13412#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC