Yasm working with Win32
p.tanski at gmail.com
Fri Dec 15 13:58:29 EST 2006
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 -
>> 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-
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
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).
More information about the Cvs-ghc