home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6561 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uunet.ca!canrem!dosgate!dosgate![mike.frisch@canrem.com]
  3. From: "mike frisch" <mike.frisch@canrem.com>
  4. Subject: help me to run gcc, pleas
  5. Message-ID: <1992Nov19.4882.6876@dosgate>
  6. Reply-To: "mike frisch" <mike.frisch@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: comp
  9. Date: 19 Nov 92 20:18:39 EST
  10. Lines: 27
  11.  
  12.  
  13. JZ> I cann't run gcc2.2.2 under os/2 (HPFS). I followed the installation
  14. JZ> instruction in install.doc (or readme). However, when I tried to complie
  15. JZ> a simple program (e.g. sample1.c which comes with the gcc2.2.2 package from
  16. JZ> hubs), I always get the following error message:
  17.  
  18.      This simply means that you have not setup GCC properly or you have
  19. not involked it properly.  Check your CONFIG.SYS settings to make sure
  20. all of the environment variables that GCC needs are set as well as your
  21. path setting.  If those are ok, check your command-line parameters.  You
  22. should be using:
  23.  
  24.         gcc -c -O progname.c
  25.  
  26.  
  27. Mike.
  28.  
  29. +---------------------------------------------------------------------+
  30. | Mike Frisch                          Usenet: mike.frisch@canrem.com |
  31. | Newmarket, Ontario, Canada                                          |
  32. +---------------------------------------------------------------------+
  33.  
  34. ---
  35.  ■ OLX 2.2 ■ Even a noseless dog can stink.
  36. --
  37. Canada Remote Systems  - Toronto, Ontario
  38. World's Largest PCBOARD System - 416-629-7000/629-7044
  39.