> The driver script bails out, if using option `-split-objs' on 
> a Haskell
> source that also produces a source_stub.c (like 
> hslibs/util/Readline.lhs
> does, for example).
> 
> The obvious fix to me was checking `$ifileroot' against /stub\.s$/ in
> `runAsm()' and then not using split-objs on the file, but 
> there is surely a
> better solution (maybe in ghc-split.prl?) ...

I've incorporated your patch for now.  As you say, there's probably a better
solution, but as far as I'm concerned the less time I have to spend looking
at ghc.lprl the better :-)

Cheers,
        Simon

Reply via email to