home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35966 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.4 KB

  1. Path: sparky!uunet!ogicse!emory!swrinde!network.ucsd.edu!calmasd!leto!kjb
  2. From: kjb@calmasd.prime.com (Ken Brucker)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Cann't run gcc:sys1808
  5. Message-ID: <1992Nov9.100800.927@calmasd.prime.com>
  6. Date: 9 Nov 92 18:08:00 GMT
  7. Article-I.D.: calmasd.1992Nov9.100800.927
  8. References: <zhao.721173846@unixg.ubc.ca>
  9. Organization: Computervision, San Diego CA
  10. Lines: 23
  11.  
  12. In article <zhao.721173846@unixg.ubc.ca>, zhao@unixg.ubc.ca (Jiansheng Zhao) writes:
  13. > In order to run gcc under os/2, I reinstalled os/2 (HPFS), and 
  14. > unpacked gccbin.zoo, gcclib.zoo and gcchdr.zoo. It seems all files
  15. > are at the right place. However, I have trouble to compile the simplest
  16. > C program.
  17. > 1). I added d:\gcc\bin to autoexec.bat (my os/2 is on D: drive),
  18. > however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
  19.  
  20. That's because OS/2 doesn't use autoexec.bat.  Only DOS uses it.  Go into
  21. config.sys and change the path statement there to add the \gcc\bin directory.
  22. All of the set commands for CPLUS_INCLUDE_PATH, etc. should also be in
  23. config.sys and not autoexec.bat.
  24.  
  25. You will need to reboot to have your changes take effect.
  26.  
  27. Ken
  28.  
  29. -- 
  30. -------------------------------------------------------------------------------
  31. **  Ken Brucker -- VMS/Ultrix Systems Programmer/Mangler -- Computervision
  32.  **  kjb@calmasd.Prime.COM  
  33.   **  Practice Random Kindness and Senseless Acts of Beauty
  34.