stdcall functions?

Chris Miller chris at dprogramming.com
Sun Apr 22 22:49:58 PDT 2007


How can I make a stdcall function on Linux with DMD? extern(Windows)  
works, but it gives it DMC's Windows name mangling (e.g. foo at 4) that is  
not compatible with Linux' stdcall C functions.

If this won't be changed in DMD's Linux version, I suppose I could settle  
with manually telling ld how to translate the names. Anyone know if this  
is possible or how?



More information about the Digitalmars-d mailing list