Article View: comp.os.msdos.programmer
Article #7727Re: What's the latest gcc / g++ for DOS?
From: Michael R Castle
Date: Mon, 25 Jan 1993 12:38
Date: Mon, 25 Jan 1993 12:38
34 lines
2191 bytes
2191 bytes
In article <EMORENO.93Jan24213512@scheria.NMSU.Edu> emoreno@scheria.NMSU.Edu (Elena M. Castruita) writes:
>On this same note:
>
> Is there a program which takes in a gcc aout file and converts
> it to an EXE file without using go32 as a front end?
>
> I would like to run the programs I write on other machines
> without installing go32 and all of its environment variables.
You *need* go32 to run the a.out files though (well, you could write your
own extender from scratch, but that wouldn't be much fun).
As far as environment variables, the only ones you really need to run
the resulting programs are:
go32tmp=c:/tmp (to place paging file, though if not present TEMP and TMP
will also be checked. If none present, current dir is used)
go32=emu path/to/387emulator driver path/to/graphics/driver gw xxx gh yyy
and these ONLY if you need 387 emulation, and/or using graphics. If you're
not using any of these, you don't really need that variable. And it will
default to 320x200x256 graphics if you are using graphics and don't define
anything in that area.
If what you mean, you really don't want to have to type 'go32 a.out' all the
time, use the aout2exe program, and just copy go32.exe along with the resulting
executable (making sure go32.exe is in the path somewhere, of course).
mrc
--
Mike Castle .-=NEXUS=-. Life is like a clock: You can work constantly
mcastle@cs.umr.edu and be right all the time, or not work at all
S087891@UMRVMA.UMR.EDU and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
Technical Details
Message-ID:
<1993Jan25.123823.7802@umr.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!mcastleReferences:
<1993Jan22.123910.7441@dxcern.cern.ch> <EMORENO.93Jan24213512@scheria.NMSU.Edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!mcastle From: mcastle@cs.umr.edu (Michael R Castle) Subject: Re: What's the latest gcc / g++ for DOS? References: <1993Jan22.123910.7441@dxcern.cern.ch> <EMORENO.93Jan24213512@scheria.NMSU.Edu> Date: Mon, 25 Jan 1993 12:38:23 GMT Nntp-Posting-Host: next9.cs.umr.edu Organization: University of Missouri - Rolla, Rolla, MO Sender: cnews@umr.edu (UMR Usenet News Post) Message-ID: <1993Jan25.123823.7802@umr.edu> Lines: 34