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