home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmtl
- From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
- Subject: Re: Cann't run gcc:sys1808
- Message-ID: <1992Nov08.235750.58913@frodo.cc.flinders.edu.au>
- Sender: @frodo.cc.flinders.edu.au
- Date: Sun, 08 Nov 1992 23:57:50 GMT
- References: <zhao.721173846@unixg.ubc.ca>
- Organization: Flinders University
- Lines: 26
-
- In article <zhao.721173846@unixg.ubc.ca> 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),
-
- You need to put this in you CONFIG.SYS file. Autoexec.bat is just for
- DOS programs.
-
- >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".
-
- This is gcc/2's polite :-) way of telling you that it can't find a
- program to execute, probably cpp.exe in this case. Fix you config.sys
- as above and reboot. Should be ok then.
-
- Trevor Lampre
- <mmtl@cc.flinders.edu.au>
- Flinders University of South Australia
-