home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3684 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.0 KB  |  25 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brooke
  3. From: brooke@cco.caltech.edu (Brooke Paul Anderson)
  4. Subject: Re: Trouble linking libgpp.a under emx
  5. Message-ID: <1992Jul21.110445.4163@cco.caltech.edu>
  6. Keywords: emx, c++
  7. Sender: news@cco.caltech.edu
  8. Nntp-Posting-Host: kanga
  9. Organization: California Institute of Technology, Pasadena
  10. References: <1992Jul20.203528.25095@vlsi.louisville.edu>
  11. Date: Tue, 21 Jul 1992 11:04:45 GMT
  12. Lines: 11
  13.  
  14. In my config.sys, I have the line
  15.  
  16. set CPLUS_INCLUDE_PATH=C:/EMX/INCLUDE.CPP;C:/EMX/INCLUDE
  17.  
  18. Other than that, I replaced emx.dll with the new version included
  19. in the C++ package, went into emx/lib/misc and typed "make" (which
  20. updates one of the libraries).  Then, I could type "gcc -o hello
  21. hello.cc -lgpp", and everything worked fine.  I didn't need to link
  22. libert.a.  Oh, you should check out the make.cmd file to make sure
  23. the directories in it are specified correctly for your system (they
  24. probably will be).
  25.