🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #916

Re: gcc 2.1, gcc 2.2.2, emx confusion

#916
From: David Charlap
Date: Wed, 09 Sep 1992 13:06
48 lines
2577 bytes
In article <18gvm4INNrou@usenet.INS.CWRU.Edu> helmick@ces.cwru.edu (Paul Helmick) writes:
>i am currently trying to setup the 32-bit GNU C++ environment to run under
>OS/2 2.0. i have been looking at the various files at hobbes.nmsu.edu
>and am thoroughly confused. which files do i need to setup emx with the
>ability to compile C++ programs? i downloaded gnudev.zoo but it was
>missing the C++ headers needed to compile C++ programs. should i also
>install gcc 2.1 or gcc 2.2.2? any help in this matter would be GREATLY
>appreciated.

You're getting the two packages confused.  Gcc/2 2.2.2 does not
require EMX.  Just un-zoo the archives from the same place with the
"x" extract option.  It'll create all the directories you need and
place the files in them.  You should wind up with something like this:

/gnu
/gnu/bin
/gnu/gcc-include   ...
/gnu/g++-include   ...
/gnu/os2-include   ...
/gnu/lib
/gnu/doc

Once all the archives are extracted, read all the documentation.
There isn't much.  It'll tell you about four or five environment
variables to set.  Insert them in your config.sys file.  Note the
direction of the slashes, some paths use unix-style forward-slashes
for directory separators.  Others use DOS/OS2-style back-slashes.  I
think these are the necessary variables to set:

LIB=
INCLUDE=
PATH=
C_INCLUDE_PATH=
CPLUS_INCLUDE_PATH=
TEMPDIR=

There may be one or two more.

EMX/GCC is a different package.  I don't know about it, so I can't
give you installation instructions, but I do know that a file called
emx.dll must be in a directory on your LIBPATH in order for it to run.
If you installed any emx-based app (like gnu-emacs), then this dll is
already present.
-- 
   |)  David Charlap           "TELEPHONE, n.  An Invention of the devil which
  /|_  dic5340@hertz.njit.edu   abrogates some of the advantages of making a
 ((|,)                          disagreeable person keep his distance."
  ~|~                              --- Ambrose Bierce, The Devil's Dictionary
Technical Details
Message-ID: <1992Sep9.130657.5466@njitgw.njit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
References: <1992Sep7.091120.10633@waikato.ac.nz> <7940@public.BTR.COM> <18gvm4INNrou@usenet.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: gcc 2.1, gcc 2.2.2, emx confusion
Message-ID: <1992Sep9.130657.5466@njitgw.njit.edu>
Date: 9 Sep 92 13:06:57 GMT
References: <1992Sep7.091120.10633@waikato.ac.nz> <7940@public.BTR.COM> <18gvm4INNrou@usenet.INS.CWRU.Edu>
Sender: news@njit.edu
Organization: New Jersey Institute of Technology, Newark, N.J.
Lines: 48
Nntp-Posting-Host: hertz.njit.edu