Bulat Ziganshin wrote:
Hello Simon,

Wednesday, November 15, 2006, 12:19:29 PM, you wrote:


The reason for this was that I was assuming porting the mangler to understand
MASM syntax would be a huge effort.  However, if we can use YASM or something
else with GAS syntax, it might be feasible.  Still, going NCG-only is the
preferred solution, and it's the direction we want to move in.


well, while C compilers generate better code - please try to support
them. in this particular case, -fvia-C will make accessible both MS
and Intel compilers, and the latter is the best C compiler at the
moment

It'll need a *lot* of work in the mangler (that horrible Perl script) to support mangling the output from the MS/Intel compilers. And it's not even worth the effort unless you put some work into the back-end to generate C code that can be optimised better by a C compiler. So personally I don't think this is a profitable direction. If someone else did the work, then we'll happily incorporate it, although I'm not sure we should commit to supporting the mangler indefinitely - it's already a significant source of breakage and incompatibility between GHC and GCC versions.

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to