|
Re: Text.ParserCombinators.Parsec requires -package text.: msg#00062lang.haskell.glasgow.bugs
>> so you could add info about required packages in the object file, > >Yes, both of these are good ideas. However, they both require noodling >in object files of course, which is non-portable. Or perhaps creative >use of 'nm' or 'objdump' would do. > >In any case, I think we already arrived at a reasonable solution... in case you need to revise your solution later: I was thinking of an equivalent to the rcs ident command, ie a recognisable string pattern in the object file, automatically created by ghc (here simulated by hand) - no non-portable trickery needed: -- module M where m_info = "$GHC compiled module: M; needs packages: base, wxhaskell$" -- $ ghc -c M.hs $ strings M.o | fgrep \$GHC $GHC compiled module: M; needs packages: base, wxhaskell$ cheers, claus
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Windows nofib, Mike Thomas |
|---|---|
| Next by Date: | [ ghc-Bugs-1032241 ] power-pc code generation error, SourceForge.net |
| Previous by Thread: | Windows nofib, Mike Thomas |
| Next by Thread: | [ ghc-Bugs-1018607 ] I thought linux was for developers?, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |