home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!fauern!uni-erlangen.de!faui8a!clemens
- From: clemens@faui8a.informatik.uni-erlangen.de (Clemens Beckstein)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Cann't run gcc:sys1808
- Date: 10 Nov 1992 14:33:01 GMT
- Organization: Regionales Rechenzentrum Erlangen
- Lines: 32
- Message-ID: <1doh6tEINN7fl@uni-erlangen.de>
- References: <zhao.721173846@unixg.ubc.ca>
- NNTP-Posting-Host: faui8a.informatik.uni-erlangen.de
-
- zhao@unixg.ubc.ca (Jiansheng Zhao) writes:
-
-
- >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?
-
- you are doing this in an OS/2 session with an OS/2 version of gcc?
- Then you should add d:\gcc\bin to your path statement in config.sys
- not autoexec.bat... autoexec.bat is for DOS sessions only.
-
- if you are doing it with a DOS version then the d:\gcc\bin should go
- into autoexec.bat and you should start it from within a DOS session;
- Even then I am not sure the DOS version will work since it probably
- uses a DOS extender that attempts to fully control the 386 (something
- OS/2 obviously cannot tolerate).
-
- I would not waste any time on the DOS version under OS/2. Get the
- real thing... it is great...
-
- - Clemens
-