home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!psuvax1!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.misc
- Subject: Re: GNU GCC 2.1
- Message-ID: <1992Sep1.132803.29677@njitgw.njit.edu>
- Date: 1 Sep 92 13:28:03 GMT
- References: <tdhnfmg.genie@netcom.com> <1992Sep1.000454.17192@murdoch.acc.Virginia.EDU>
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 35
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1992Sep1.000454.17192@murdoch.acc.Virginia.EDU> wrp@cyclops.micr.Virginia.EDU (Bill Pearson) writes:
- >In article <tdhnfmg.genie@netcom.com> genie@netcom.com (The Genie) writes:
- >>
- >>Hi. I just downloaded the GNU GCC 2.1 package from hobbes and
- >>successfully installed it into my 386 OS/2 system. Playing around
- >>with C, I couldn't get even the simplest hello.c (not from the
- >>sample) program to compile correctly. I'm sure there are
- >>no errors in the 4 line program.
- >>
- >>I type "gcc hello.c"
- >>After 3-4 seconds of disk usage, OS/2 responds:
- >>SYS1808:
- >>The process has stopped. The software diagnostic
- >>code (exception code) is 0006.
- >>
- >
- > This should be an FAQ. Try "gcc -o hello.exe hello.c".
- >If that does not work, try:
- >
- > gcc -c hello.c
- > link386 hello.obj,hello.exe,,,
-
- GCC/2 will NOT link executable at this time. (Read the README file
- that comes with it). You must manually link. Do this:
-
- gcc -c hello.c
- link386 hello.obj, hello.exe, nul, os2.lib, nul;
-
-
-
- --
- |) 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.
-