www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/09/12:11:32

Date: Wed, 9 May 2001 11:36:56 -0400
Message-Id: <200105091536.LAA10464@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <006b01c0d897$97c7f820$0c4011d4@telekabel.at> (Nborman@chello.at)
Subject: Re: DPMI
References: <000801c0d7ee$f0f8cf40$0c4011d4 AT telekabel DOT at> <200105082025 DOT QAA04227 AT envy DOT delorie DOT com> <006b01c0d897$97c7f820$0c4011d4 AT telekabel DOT at>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>  Lets say, for example (theoretically), one would make a program
> that only 'starts' and 'dies', without the requirement of any
> external libraries - would the output file really need to utilize
> any DOS functions?

Yes.  You'd at least need the DOS "exit" function.

> Another question: you mentioned that this is possible, but "how" is
> it possible? Is this done with the linker output of "binary"?

No, you'd still use COFF (if you want).  You'd have to tell the linker
not to link in djgpp's crt0.o, libc.a, or stub though, and if you
don't use a stub that wants COFF you need to write something that
reads COFF and creates whatever output you want.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019