Since http://www.smorgasbordet.com/pellesc/ seems to be offline, you can find the Download of Pelles C here in this Forum.
Hello,I recompiled Timo's code to produce a 32-bit executable. I received the same error messages, unresolved externals and invalid machine types. Strangely, the compiler emits 64-bit code while the project is set to 32-bit.
// test.c//int __cdecl main(void)void __cdecl mainCRTStartup(void){ //int return;}
; ml.exe -coff hello.asm -link -subsystem:console.386.model flatoption casemap:noneexit PROTO C :DWORDprintf PROTO C :PTR,:VARARG;INCLUDELIB msvcrt.datamsg db "Hello ASM",10,0.codemainCRTStartup PROC C ;invoke printf, ADDR msg ;invoke exit,0 xor eax, eax retmainCRTStartup ENDPEND mainCRTStartup
/x Turns off the 'single instance' check. [4.00] /xml Stores all personal settings in the specified XML-file. [5.00]
Ah, ok I got it - Thanks !Thought it was part of the poccx fix.John Z