BTW, with the "bad lib" error 362 link errors.. when I use the coff lib it is 415 or so...

Also, I tried compiling with LDCx86 and it worked!

This suggest that the lib is being compiled for coff no matter what?

LDCx64 works too.

I wonder if you could modify the build script so it automatically builds all 3 lib types and puts them each in separate directories? A batch file could do all this automatically.