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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!zhao
  2. From: zhao@unixg.ubc.ca (Jiansheng Zhao)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Cann't run gcc:sys1808
  5. Date: 7 Nov 92 22:04:06 GMT
  6. Organization: The University of British Columbia
  7. Lines: 22
  8. Message-ID: <zhao.721173846@unixg.ubc.ca>
  9. NNTP-Posting-Host: unixg.ubc.ca
  10.  
  11.  
  12. In order to run gcc under os/2, I reinstalled os/2 (HPFS), and 
  13. unpacked gccbin.zoo, gcclib.zoo and gcchdr.zoo. It seems all files
  14. are at the right place. However, I have trouble to compile the simplest
  15. C program.
  16. 1). I added d:\gcc\bin to autoexec.bat (my os/2 is on D: drive),
  17. however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
  18. 2). When running "gcc sample.c" under d:\gcc\bin, I got the following
  19. error message:
  20. "abnormal program termination.
  21. SYS 1808:
  22. The process has stopped. The software diagnostic code (exception code)
  23. is 0006".
  24. I set CPLUS_INCLUDE_PATH=d:/gcc/g++-include; ... ...
  25. What might be the probelm?  
  26. I just start learning C programing, please help.
  27.  
  28.  
  29. -- 
  30. Jiansheng Zhao
  31. Dept. Chem. Eng, Univ. of B. C., Canada. V6T 1Z4
  32. zhao@unixg.ubc.ca
  33.