🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41968

Using DJGPP _without_ GO32.EXE

#41968
From: Toby Hutton
Date: Wed, 31 Jan 1996 00:00
16 lines
1028 bytes
I'm fiddling around with some protected mode code (PC), and I'd like to use
some C, in particular DJGPP.  I would like to initialise my own PM
environment and therefore don't want to use GO32.EXE at all.  Nor do I
want to use any of the gnu standard libraries.

Is it possible to compile AND link a program with DJGPP, _without_ the
GO32 extender and the real mode stub, etc?  All I want is some pure
32-bit code, no dos extender.

I know I can use -nostdlib, and similar options to force it to link with
out the gnu libraries, but I assume the prog. will still have dos extender
dependant code in there..?

Thanks,
Toby.
Technical Details
Message-ID: <4emime$pag@goanna.cs.rmit.EDU.AU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fc7dcafc2ae25089,start
X-Google-Attributes: gid11318c,public
From: s9312648@arcadia.cs.rmit.edu.au (Toby Hutton)
Subject: Using DJGPP _without_ GO32.EXE
Date: 1996/01/31
Message-ID: <4emime$pag@goanna.cs.rmit.EDU.AU>
X-Deja-AN: 137343569
organization: Comp Sci, RMIT, Melbourne, Australia
newsgroups: gnu.gcc.help