|
ghc-pkg -g fails on Solaris: msg#00048lang.haskell.glasgow.bugs
Hi, On all Unix platforms except Darwin, ghc-pkg calls: ld -r -x -o HSfoo.o --whole-archive libHSfoo.a See: ghc/utils/ghc-pkg/Main.hs, function autoBuildGHCiLib This works for the GNU linker. For the Solaris linker (which takes the name "ld", GNU ld gets "gld" if it's installed) this does not work. The Solaris linker does not understand the -x or --whole-archive flags. Actually I don't understand how GHC manages to install it's own libraries with GHCi support on Solaris if this doesn't work. Presumably the GHC build system builds the HSfoo.o files itself. Does anyone know how it is done? Duncan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-995658 ] hReady always returns True when used on win32 non-Console, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1105067 ] -ffi poorly documented, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-995658 ] hReady always returns True when used on win32 non-Console, SourceForge.net |
| Next by Thread: | Re: ghc-pkg -g fails on Solaris, Axel Simon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |