home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.apps:5222 comp.os.os2.programmer:4167
- 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.112939.2353@glen-ellyn.iit.edu>
- Organization: Illinois Institute of Technology, Rice Campus
- References: <1992Aug11.044656.8903@news.columbia.edu> <df3m6kb.jps@netcom.com> <1992Aug12.111819.2219@glen-ellyn.iit.edu>
- Distribution: usa
- Date: Wed, 12 Aug 1992 11:29:39 GMT
- Lines: 36
-
- In article <1992Aug12.111819.2219@glen-ellyn.iit.edu> thssdag@glen-ellyn.iit.edu (Don A. Graft) writes:
- >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
-
- I didn't notice the missing -c and link386 as pointed out by others. However,
- the too-small stack can also bite you, so watch out.
- Don
-