Thanks a lot, qWord & Michael & Japheth. I got the small test file working with original .a libraries :t
Right now I am struggling with
the Unix "_iob" thingThe simple source compiled fine with the Masm32 msvcrt.lib, and stopped crashing once I replaced
fprintf(stderr, "Whatever\n"); with
printf ("Whatever\n"); ::)
The more complex source (which I cannot post) now complained about malloc multiply defined... so I had to remove \Masm32\lib\msvcrt.lib from the linker's commandline, which made 'the Unix "_iob" thing' reappear. So I decided to revert to Erol's tools, and to create a tiny msvcrt.lib that contains only (msvcrt.def)
LIBRARY msvcrt
EXPORTS
"__iob_func"
"__p__iob"
"_iob"Guess what? It works :t