tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Tiny C for DOS


From: Felix Nawothnig
Subject: Re: [Tinycc-devel] Tiny C for DOS
Date: Wed, 13 Jul 2005 16:18:48 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]