home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!emory!swrinde!network.ucsd.edu!calmasd!leto!kjb
- From: kjb@calmasd.prime.com (Ken Brucker)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Cann't run gcc:sys1808
- Message-ID: <1992Nov9.100800.927@calmasd.prime.com>
- Date: 9 Nov 92 18:08:00 GMT
- Article-I.D.: calmasd.1992Nov9.100800.927
- References: <zhao.721173846@unixg.ubc.ca>
- Organization: Computervision, San Diego CA
- Lines: 23
-
- 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),
- > however, os/2 cann't find d:\gcc\bin\gcc.exe, no matter how I tried.
-
- That's because OS/2 doesn't use autoexec.bat. Only DOS uses it. Go into
- config.sys and change the path statement there to add the \gcc\bin directory.
- All of the set commands for CPLUS_INCLUDE_PATH, etc. should also be in
- config.sys and not autoexec.bat.
-
- You will need to reboot to have your changes take effect.
-
- Ken
-
- --
- -------------------------------------------------------------------------------
- ** Ken Brucker -- VMS/Ultrix Systems Programmer/Mangler -- Computervision
- ** kjb@calmasd.Prime.COM
- ** Practice Random Kindness and Senseless Acts of Beauty
-