Date: Sun, 2 May 1999 11:32:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Alexander_Pankov cc: djgpp AT delorie DOT com Subject: Re: compiling In-Reply-To: <0764.990501@dkd.ot.lt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 1 May 1999, Alexander_Pankov wrote: > How to compile with DJGPP exe without extender? DJGPP-compiled programs don't include any extender. > int main() > { > return 0 > } > > and to get very small file? I'm guessing ``small'' is not an issue here. What you want is for the produced program to be independent of something. Please explain what is that ``something'' that you don't want in your program. > I want to write new runtime library for DJGPP, for another OS. How > can I do it? You simply write it ;-) The easiest way would be to rewrite the low-level functions that interface with DOS and the DPMI server, and leave the higher-level library functions intact. The sources are freely available in the v2/djlsr202.zip archive from any DJGPP site. > And another question: how to make my own type of calls? I don't understand what do you mean by that. Please explain.