home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 28799 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.1 KB  |  37 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!murdoch!cyclops.micr.Virginia.EDU!wrp
  3. From: wrp@cyclops.micr.Virginia.EDU (Bill Pearson)
  4. Subject: Re: GNU GCC 2.1
  5. Message-ID: <1992Sep1.000454.17192@murdoch.acc.Virginia.EDU>
  6. Sender: usenet@murdoch.acc.Virginia.EDU
  7. Organization: University of Virginia
  8. References: <tdhnfmg.genie@netcom.com>
  9. Date: Tue, 1 Sep 1992 00:04:54 GMT
  10. Lines: 25
  11.  
  12. In article <tdhnfmg.genie@netcom.com> genie@netcom.com (The Genie) writes:
  13. >
  14. >Hi.  I just downloaded the GNU GCC 2.1 package from hobbes and
  15. >successfully installed it into my 386 OS/2 system.  Playing around
  16. >with C, I couldn't get even the simplest hello.c (not from the
  17. >sample) program to compile correctly.  I'm sure there are
  18. >no errors in the 4 line program.
  19. >
  20. >I type "gcc hello.c"
  21. >After 3-4 seconds of disk usage, OS/2 responds:
  22. >SYS1808:
  23. >The process has stopped.  The software diagnostic
  24. >code (exception code) is  0006.
  25. >
  26.  
  27.     This should be an FAQ.  Try "gcc -o hello.exe hello.c".
  28. If that does not work, try:
  29.  
  30.     gcc -c hello.c
  31.     link386 hello.obj,hello.exe,,,
  32.  
  33. Bill Pearson
  34.  
  35.  
  36.  
  37.