Hanzac Chen wrote:
C:\>tcc-pe.exe -c foo.c -o foo.obj
C:\>some-coff-linker.exe foo.obj djgpp-crt*.obj -o foo.exe
Besides, that also need to be embedded a 16-bit stub from DJGPP. Then
it could be a valid coff-go32 executable.
Isn't this the job of the linker?
I mean MZ EXEs, not 16-bit code (just linking support).
Nevertheless... hacking in support for the tiny/small model shouldn't be
too hard.
Don't know the details of tiny/small ... memory models.
They are realmode memory models with either one or two (data & code)
segments so you don't have to deal with segment registers or far pointers.
Felix
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel