home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / apps / 5229 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.6 KB

  1. Xref: sparky comp.os.os2.apps:5229 comp.os.os2.programmer:4172
  2. Path: sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  3. From: dic5340@hertz.njit.edu (David Charlap)
  4. Newsgroups: comp.os.os2.apps,comp.os.os2.programmer
  5. Subject: Re: Help with gcc
  6. Message-ID: <1992Aug12.162328.1237@njitgw.njit.edu>
  7. Date: 12 Aug 92 16:23:28 GMT
  8. Article-I.D.: njitgw.1992Aug12.162328.1237
  9. References: <1992Aug11.044656.8903@news.columbia.edu>
  10. Sender: news@njit.edu
  11. Distribution: usa
  12. Organization: New Jersey Institute of Technology, Newark, N.J.
  13. Lines: 39
  14. Nntp-Posting-Host: hertz.njit.edu
  15.  
  16. In article <1992Aug11.044656.8903@news.columbia.edu> mig@cunixb.cc.columbia.edu (Meir I Green) writes:
  17. >$ cat hello.c
  18. >
  19. >/* hello world */
  20. >#include <stdio.h>
  21. >main()
  22. >{ printf("Hello world\n"); }
  23. >
  24. >$ gcc hello.c
  25. >
  26. >SYS1808: 
  27. >The process has stopped.  The software diagnostic
  28. >code (exception code) is  0006.
  29. >
  30. >$ help 1808
  31. >
  32. >SYS1808: 
  33. >The process has stopped.  The software diagnostic
  34. >code (exception code) is ***.
  35. >
  36. >EXPLANATION: The program generated an exception
  37. >that the system cannot resolve.  The software
  38. >diagnostic code allows determination of what type
  39. >of exception was generated.
  40. >ACTION: Correct the problem or try a different
  41. >version of the program.
  42.  
  43. I'm not sure.  I know that "gcc hello.c" won't work, though, since gcc
  44. doesn't link anything.  Try this:
  45.  
  46. $ gcc -c hello.c
  47. $ link386 hello.obj ;
  48.  
  49. See if that works.
  50. -- 
  51.    |)  David Charlap           "I don't even represent myself
  52.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  53.  ((|,)
  54.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  55.