Article View: comp.os.os2.programmer
Article #358Help with gcc
From: Pete Bergstrom
Date: Tue, 11 Aug 1992 14:36
Date: Tue, 11 Aug 1992 14:36
32 lines
1429 bytes
1429 bytes
From: mig@cunixb.cc.columbia.edu (Meir I Green)
>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
>
>$ 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.
>
Gcc/2 (the new proposed name) generates genuine native OS/2 .obj
files. Unfortunately, gcc.exe (driver program) does *not* know about
using link386.exe to link the object files together to produce an
executable or .dll.
To figure out what you have to do, read the makefile from the example
directory that comes with gcc/2. There are a lot of examples of text
mode programs and one or two PM examples.
Pete
Technical Details
Message-ID:
<9208111436.AA04210@data.src.honeywell.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!src.honeywell.com!mail-enters-newsShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!src.honeywell.com!mail-enters-news From: bergstro@src.honeywell.com (Pete Bergstrom) Subject: Help with gcc In-Reply-To: mig@cunixb.cc.columbia.edu's message of Tue, 11 Aug 1992 04: 46:56 GM To: comp.os.os2.programmer Message-ID: <9208111436.AA04210@data.src.honeywell.com> Posted-Date: Tue, 11 Aug 92 09: 36:20 CDT Sender: daemon@src.honeywell.com Organization: Honeywell Systems & Research Center Date: Tue, 11 Aug 1992 14:36:20 GMT Received-Date: Tue, 11 Aug 92 09: 36:21 CDT Lines: 33