home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12416 < prev    next >
Encoding:
Text File  |  1993-01-25  |  2.1 KB  |  47 lines

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