On Dec 15, 2006, at 11:16 AM, Simon Marlow wrote:
Peter Tanski wrote:
Other things may need changing:
...
* (potential bugger): remove default use of mangler on -O and - fvia-
C on -fglasgow-exts;

Don't understand this one. -fvia-C won't be available for i386- unknown-windows, right? What are you referring to with -fglasgow- exts?

Maybe I'm wrong--it isn't in the current documentation: -fglasgow- exts and -O both pipe through the mangler (driver/mangler/ghc- asm.lprl); -O implies -fvia-C as well (or it used to).

Yasm chokes on /ARGS, /NO_ARGS gas directives,
may add to Yasm with special -D macro[=value] options

Could you elaborate?  I don't know what /ARGS is.

Ouch. I meant /APP and /NO_APP (/ARGS do exist, but that's not what I meant). Anyway, /APP and /NO_APP are GNU AS directives; essentially delimiters for comment blocks. Under mingw, the mangler (ghc-asm.lprl:572) inserts:

/APP
/NO_APP

lines in between assembler code blocks. (Honestly, these seem more like something AS would pass to the shell or cpp, not a directive. I only know they exist because Yasm choked on it when I tested while giving ghc the '-fglasgow-exts' or '-O' options).

Cheers,
Pete



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

Reply via email to