home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4835 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  2.5 KB

  1. Path: sparky!uunet!wupost!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: gcc 2.1, gcc 2.2.2, emx confusion
  5. Message-ID: <1992Sep9.130657.5466@njitgw.njit.edu>
  6. Date: 9 Sep 92 13:06:57 GMT
  7. References: <1992Sep7.091120.10633@waikato.ac.nz> <7940@public.BTR.COM> <18gvm4INNrou@usenet.INS.CWRU.Edu>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 48
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <18gvm4INNrou@usenet.INS.CWRU.Edu> helmick@ces.cwru.edu (Paul Helmick) writes:
  14. >i am currently trying to setup the 32-bit GNU C++ environment to run under
  15. >OS/2 2.0. i have been looking at the various files at hobbes.nmsu.edu
  16. >and am thoroughly confused. which files do i need to setup emx with the
  17. >ability to compile C++ programs? i downloaded gnudev.zoo but it was
  18. >missing the C++ headers needed to compile C++ programs. should i also
  19. >install gcc 2.1 or gcc 2.2.2? any help in this matter would be GREATLY
  20. >appreciated.
  21.  
  22. You're getting the two packages confused.  Gcc/2 2.2.2 does not
  23. require EMX.  Just un-zoo the archives from the same place with the
  24. "x" extract option.  It'll create all the directories you need and
  25. place the files in them.  You should wind up with something like this:
  26.  
  27. /gnu
  28. /gnu/bin
  29. /gnu/gcc-include   ...
  30. /gnu/g++-include   ...
  31. /gnu/os2-include   ...
  32. /gnu/lib
  33. /gnu/doc
  34.  
  35. Once all the archives are extracted, read all the documentation.
  36. There isn't much.  It'll tell you about four or five environment
  37. variables to set.  Insert them in your config.sys file.  Note the
  38. direction of the slashes, some paths use unix-style forward-slashes
  39. for directory separators.  Others use DOS/OS2-style back-slashes.  I
  40. think these are the necessary variables to set:
  41.  
  42. LIB=
  43. INCLUDE=
  44. PATH=
  45. C_INCLUDE_PATH=
  46. CPLUS_INCLUDE_PATH=
  47. TEMPDIR=
  48.  
  49. There may be one or two more.
  50.  
  51. EMX/GCC is a different package.  I don't know about it, so I can't
  52. give you installation instructions, but I do know that a file called
  53. emx.dll must be in a directory on your LIBPATH in order for it to run.
  54. If you installed any emx-based app (like gnu-emacs), then this dll is
  55. already present.
  56. -- 
  57.    |)  David Charlap           "TELEPHONE, n.  An Invention of the devil which
  58.   /|_  dic5340@hertz.njit.edu   abrogates some of the advantages of making a
  59.  ((|,)                          disagreeable person keep his distance."
  60.   ~|~                              --- Ambrose Bierce, The Devil's Dictionary
  61.