Danny Smith <danny_r_smith_2001@...> wrote:
> pe-specific decorations get stripped in gcc/config/i386/cygwin.h
> (mingw32.h includes this file too). Look for
> #define I386_PE_STRIP_ENCODING(SYM_NAME).
> The encoding is done by i386_pe_encode_section_info() in winnt.c is ame
> dir (but you've probably know that already.)
> Hope this helps
Yes, this was a very good hint! Thank you!
I'll disable the hardcoded underscores ('#define YES_UNDERSCORE' to '#define
NO_UNDERSCORE' in cygwin.h) for cygwin and mingw and create the full
decorations, even for cdecl functions, in i386_pe_encode_section_info(). And
I'll also modify the decoration strip routine to strip fastcall labels
Btw, I have successfully built ReactOS with MinGW-1.0. Only a few minor
changes in an internal header file were needed. Thanks, to the whole MinGW
team for this great toolset! :-)