home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35898 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.4 KB  |  38 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmtl
  3. From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
  4. Subject: Re: Cann't run gcc:sys1808
  5. Message-ID: <1992Nov08.235750.58913@frodo.cc.flinders.edu.au>
  6. Sender: @frodo.cc.flinders.edu.au
  7. Date: Sun, 08 Nov 1992 23:57:50 GMT
  8. References: <zhao.721173846@unixg.ubc.ca>
  9. Organization: Flinders University
  10. Lines: 26
  11.  
  12. In article <zhao.721173846@unixg.ubc.ca> zhao@unixg.ubc.ca (Jiansheng Zhao) writes:
  13. >
  14. >In order to run gcc under os/2, I reinstalled os/2 (HPFS), and 
  15. >unpacked gccbin.zoo, gcclib.zoo and gcchdr.zoo. It seems all files
  16. >are at the right place. However, I have trouble to compile the simplest
  17. >C program.
  18. >1). I added d:\gcc\bin to autoexec.bat (my os/2 is on D: drive),
  19.  
  20. You need to put this in you CONFIG.SYS file. Autoexec.bat is just for
  21. DOS programs.
  22.  
  23. >however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
  24. >2). When running "gcc sample.c" under d:\gcc\bin, I got the following
  25. >error message:
  26. >"abnormal program termination.
  27. >SYS 1808:
  28. >The process has stopped. The software diagnostic code (exception code)
  29. >is 0006".
  30.  
  31. This is gcc/2's polite :-) way of telling you that it can't find a
  32. program to execute, probably cpp.exe in this case. Fix you config.sys
  33. as above and reboot. Should be ok then.
  34.  
  35. Trevor Lampre
  36. <mmtl@cc.flinders.edu.au>
  37. Flinders University of South Australia
  38.