Mail Archives: djgpp/1999/01/14/16:40:17
> 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 <coff.h>
- Raw text -