Date: Thu, 14 Jan 1999 16:40:11 -0500 Message-Id: <199901142140.QAA12481@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <01be4006$72f087a0$368611d8@shawnmain> (malicon@frii.com) Subject: Re: Raw 32-bit code? References: <01be4006$72f087a0$368611d8 AT shawnmain> Reply-To: djgpp AT 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. > Another major question I have is what form are the .o files, are > there any headers or stuff like that on the files? Documentation > regarding this is been a little hard to find, either under djgpp or > under Gcc under linux. http://www.delorie.com/djgpp/doc/coff/ #include