home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.apps:5229 comp.os.os2.programmer:4172
- Path: sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.apps,comp.os.os2.programmer
- Subject: Re: Help with gcc
- Message-ID: <1992Aug12.162328.1237@njitgw.njit.edu>
- Date: 12 Aug 92 16:23:28 GMT
- Article-I.D.: njitgw.1992Aug12.162328.1237
- References: <1992Aug11.044656.8903@news.columbia.edu>
- Sender: news@njit.edu
- Distribution: usa
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 39
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1992Aug11.044656.8903@news.columbia.edu> mig@cunixb.cc.columbia.edu (Meir I Green) writes:
- >$ 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.
- >
- >$ help 1808
- >
- >SYS1808:
- >The process has stopped. The software diagnostic
- >code (exception code) is ***.
- >
- >EXPLANATION: The program generated an exception
- >that the system cannot resolve. The software
- >diagnostic code allows determination of what type
- >of exception was generated.
- >ACTION: Correct the problem or try a different
- >version of the program.
-
- I'm not sure. I know that "gcc hello.c" won't work, though, since gcc
- doesn't link anything. Try this:
-
- $ gcc -c hello.c
- $ link386 hello.obj ;
-
- See if that works.
- --
- |) David Charlap "I don't even represent myself
- /|_ dic5340@hertz.njit.edu sometimes so NJIT is right out!.
- ((|,)
- ~|~ Hi! I am a .signature virus, copy me into your .signature file.
-