home *** CD-ROM | disk | FTP | other *** search
- 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
- From: zhao@unixg.ubc.ca (Jiansheng Zhao)
- Newsgroups: comp.os.os2.misc
- Subject: Cann't run gcc:sys1808
- Date: 7 Nov 92 22:04:06 GMT
- Organization: The University of British Columbia
- Lines: 22
- Message-ID: <zhao.721173846@unixg.ubc.ca>
- NNTP-Posting-Host: unixg.ubc.ca
-
-
- In order to run gcc under os/2, I reinstalled os/2 (HPFS), and
- unpacked gccbin.zoo, gcclib.zoo and gcchdr.zoo. It seems all files
- are at the right place. However, I have trouble to compile the simplest
- C program.
- 1). I added d:\gcc\bin to autoexec.bat (my os/2 is on D: drive),
- however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
- 2). When running "gcc sample.c" under d:\gcc\bin, I got the following
- error message:
- "abnormal program termination.
- SYS 1808:
- The process has stopped. The software diagnostic code (exception code)
- is 0006".
- I set CPLUS_INCLUDE_PATH=d:/gcc/g++-include; ... ...
- What might be the probelm?
- I just start learning C programing, please help.
-
-
- --
- Jiansheng Zhao
- Dept. Chem. Eng, Univ. of B. C., Canada. V6T 1Z4
- zhao@unixg.ubc.ca
-