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

  1. Xref: sparky comp.os.os2.apps:5222 comp.os.os2.programmer:4167
  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.112939.2353@glen-ellyn.iit.edu>
  7. Organization: Illinois Institute of Technology, Rice Campus
  8. References: <1992Aug11.044656.8903@news.columbia.edu> <df3m6kb.jps@netcom.com> <1992Aug12.111819.2219@glen-ellyn.iit.edu>
  9. Distribution: usa
  10. Date: Wed, 12 Aug 1992 11:29:39 GMT
  11. Lines: 36
  12.  
  13. In article <1992Aug12.111819.2219@glen-ellyn.iit.edu> thssdag@glen-ellyn.iit.edu (Don A. Graft) writes:
  14. >In article <df3m6kb.jps@netcom.com> jps@netcom.com (John Serafin) writes:
  15. >>mig@cunixb.cc.columbia.edu (Meir I Green) writes:
  16. >>
  17. >>>I just installed gcc for OS/2 2.0.  Does anyone know why it causes an
  18. >>>"exception"?  How do I get it to work properly?
  19. >>
  20. >>>Thanks.
  21. >>>Meir
  22. >>
  23. >>I am having the same problem.   All I can add is that I am using the
  24. >>FAT compatible gcc on an HPFS partition.
  25. >>I got emx working with no problem.
  26. >>
  27. >>>$ cat hello.c
  28. >>
  29. >>>/* hello world */
  30. >>>#include <stdio.h>
  31. >>>main()
  32. >>>{ printf("Hello world\n"); }
  33. >>
  34. >>>$ gcc hello.c
  35. >>
  36. >>>SYS1808: 
  37. >>>The process has stopped.  The software diagnostic
  38. >>>code (exception code) is  0006.
  39. >>John P. Serafin  |  Operating a bicycle is more like driving than riding.
  40. >>jps@netcom.com   |  Operating an automobile is more like riding than driving.
  41. >
  42. >I too had problems with gcc exceptions. Apparently the default stack is too
  43. >small. Set it to 8192 in your .def file and things will clear up.
  44. >Don
  45.  
  46. I didn't notice the missing -c and link386 as pointed out by others. However,
  47. the too-small stack can also bite you, so watch out.
  48. Don
  49.