Hi

> You make it sound like "ghc gives you your linker error in raw form" is a
> deliberate feature we implemented just to make your life more difficult! No,
> obviously it's just the easiest thing to do, and we haven't implemented
> anything more elaborate.

I think most link errors are because the user forgot to include
--make? If that is the case, and the linker returned a failure, then
it might be a worthwhile hint to give.

> I'm not convinced it's entirely sensible to try to parse the output of the
> linker (and do something reasonable on all platforms, with all versions of
> gcc), but it is certainly worth thinking about.

I'd say it was a bad idea. You shouldn't interpret someone elses
textual error messages, as it gives you a very tight binding to
something entirely outside your control.

Thanks

Neil

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to