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

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!fauern!uni-erlangen.de!faui8a!clemens
  2. From: clemens@faui8a.informatik.uni-erlangen.de (Clemens Beckstein)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Cann't run gcc:sys1808
  5. Date: 10 Nov 1992 14:33:01 GMT
  6. Organization: Regionales Rechenzentrum Erlangen
  7. Lines: 32
  8. Message-ID: <1doh6tEINN7fl@uni-erlangen.de>
  9. References: <zhao.721173846@unixg.ubc.ca>
  10. NNTP-Posting-Host: faui8a.informatik.uni-erlangen.de
  11.  
  12. zhao@unixg.ubc.ca (Jiansheng Zhao) writes:
  13.  
  14.  
  15. >In order to run gcc under os/2, I reinstalled os/2 (HPFS), and 
  16. >unpacked gccbin.zoo, gcclib.zoo and gcchdr.zoo. It seems all files
  17. >are at the right place. However, I have trouble to compile the simplest
  18. >C program.
  19. >1). I added d:\gcc\bin to autoexec.bat (my os/2 is on D: drive),
  20. >however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
  21. >2). When running "gcc sample.c" under d:\gcc\bin, I got the following
  22. >error message:
  23. >"abnormal program termination.
  24. >SYS 1808:
  25. >The process has stopped. The software diagnostic code (exception code)
  26. >is 0006".
  27. >I set CPLUS_INCLUDE_PATH=d:/gcc/g++-include; ... ...
  28. >What might be the probelm?  
  29.  
  30. you are doing this in an OS/2 session with an OS/2 version of gcc?
  31. Then you should add d:\gcc\bin to your path statement in config.sys
  32. not autoexec.bat... autoexec.bat is for DOS sessions only.
  33.  
  34. if you are doing it with a DOS version then the d:\gcc\bin should go
  35. into autoexec.bat and you should start it from within a DOS session;
  36. Even then I am not sure the DOS version will work since it probably
  37. uses a DOS extender that attempts to fully control the 386 (something
  38. OS/2 obviously cannot tolerate).
  39.  
  40. I would not waste any time on the DOS version under OS/2.  Get the
  41. real thing... it is great...
  42.  
  43. - Clemens
  44.