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

  1. Xref: sparky comp.os.os2.apps:5221 comp.os.os2.programmer:4166
  2. Newsgroups: comp.os.os2.apps,comp.os.os2.programmer
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!iitmax!rice.iit.edu!thssdag
  4. From: thssdag@glen-ellyn.iit.edu (Don A. Graft)
  5. Subject: Re: Help with gcc
  6. Message-ID: <1992Aug12.111819.2219@glen-ellyn.iit.edu>
  7. Organization: Illinois Institute of Technology, Rice Campus
  8. References: <1992Aug11.044656.8903@news.columbia.edu> <df3m6kb.jps@netcom.com>
  9. Distribution: usa
  10. Date: Wed, 12 Aug 1992 11:18:19 GMT
  11. Lines: 31
  12.  
  13. In article <df3m6kb.jps@netcom.com> jps@netcom.com (John Serafin) writes:
  14. >mig@cunixb.cc.columbia.edu (Meir I Green) writes:
  15. >
  16. >>I just installed gcc for OS/2 2.0.  Does anyone know why it causes an
  17. >>"exception"?  How do I get it to work properly?
  18. >
  19. >>Thanks.
  20. >>Meir
  21. >
  22. >I am having the same problem.   All I can add is that I am using the
  23. >FAT compatible gcc on an HPFS partition.
  24. >I got emx working with no problem.
  25. >
  26. >>$ cat hello.c
  27. >
  28. >>/* hello world */
  29. >>#include <stdio.h>
  30. >>main()
  31. >>{ printf("Hello world\n"); }
  32. >
  33. >>$ gcc hello.c
  34. >
  35. >>SYS1808: 
  36. >>The process has stopped.  The software diagnostic
  37. >>code (exception code) is  0006.
  38. >John P. Serafin  |  Operating a bicycle is more like driving than riding.
  39. >jps@netcom.com   |  Operating an automobile is more like riding than driving.
  40.  
  41. I too had problems with gcc exceptions. Apparently the default stack is too
  42. small. Set it to 8192 in your .def file and things will clear up.
  43. Don
  44.