On Nov 15, 2006, at 4:19 AM, Simon Marlow wrote:
Ok, so it seems like a plausible plan is to start by using YASM, so we can generate Win32 objects using the NCG with no changes to the syntax. Some changes to directives (eg. section names) will probably be required.
I am looking into modifications to the main driver, especially SysTools.lhs (for an assembler separate from gcc), and configure/make files. I know I have other projects but this seems like a nice thing to test out when I have a little more time (like now).
I'll update the ticket.
Thanks! I haven't done with the NCG Commentary page but I added some basic introductory notes to the Cmm language Commentary page. In case you don't have time to read the whole thing, in the second full paragraph of the "Basic Cmm" section I digressed a little on how deficiencies in Cmm (particularly the restriction on operator side effects and the relatively scant number of operators implemented) force optimisations on the NCG. I am fairly sure it doesn't overstate the problem, but you might want to peruse it if you have time for pleasure reading.
Cheers, Peter _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc