www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/14/17:10:26

From: "Shawn" <malicon AT frii DOT com>
Subject: Re: Raw 32-bit code?
Newsgroups: comp.os.msdos.djgpp
References: <01be4006$72f087a0$368611d8 AT shawnmain> <199901142140 DOT QAA12481 AT envy DOT delorie DOT com>
Message-ID: <01be400c$5fcb5960$368611d8@shawnmain>
X-Newsreader: Microsoft Internet News 4.70.1155
Lines: 25
Date: Thu, 14 Jan 1999 22:05:35 GMT
NNTP-Posting-Host: 216.17.134.54
X-Complaints-To: abuse AT frii DOT net
X-Trace: news.frii.net 916351535 216.17.134.54 (Thu, 14 Jan 1999 15:05:35 MST)
NNTP-Posting-Date: Thu, 14 Jan 1999 15:05:35 MST
Organization: Front Range Internet, Inc. (800-935-6527)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


DJ Delorie <dj AT delorie DOT com> wrote in article
<199901142140 DOT QAA12481 AT envy DOT delorie DOT com>...
> 
> > Will Gcc in Djgpp environment do a raw 32-bit code, with out calls to
DPMI
> > and other environment stuff?  Also what flags on the compiler do I need
to
> > look at to do this?
> 
> Sure.  Just don't call any libc functions and your code won't need
> DPMI (it won't *run* either).  You'll probably want to invoke the
> linker directly (ld ...) with an alternate linker script (ld -T foo
> ..) to get all the sections where you want them address-wise.

of course it wont run from a command line but that isn't the point of the
code output,  I just needed to know if I could get a raw 32-bit  code out
of it.  The header is all I want to strip off of the code so I can just
have the raw x86 code

Thank you,  pouring through the documentation was getting a bit
frustrating.

 

- Raw text -


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