Article View: gnu.gcc.help
Article #51208gcc vs. cc
From: Fang Feng
Date: Wed, 16 Jun 1993 04:05
Date: Wed, 16 Jun 1993 04:05
19 lines
1256 bytes
1256 bytes
Hi, folks:
I don't know what are fundamental differences between gcc
and cc. I encountered the following problem. I have a program.
I used gcc to compile it. No compiler error showed, but when I
ran it, it generated a run-time error (a supposed-to-be positive
number became negative, thus caused an array out of range).
However, when I used cc to compile the program, it went smoothly
without any problem. Any idea?
BTW, I use SUN Sparc workstations.
Thanks.
Fang
--
====================================================
Department of Computer Science, Texas A&M University
internet: ffeng@cs.tamu.edu
====================================================
Technical Details
Message-ID:
<1vm65j$c83@tamsun.tamu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!emory!swrinde!cs.utexas.edu!tamsun.tamu.edu!ffengShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,afd41bb6721ace58,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-15 21:11:00 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!emory!swrinde!cs.utexas.edu!tamsun.tamu.edu!ffeng From: ffeng@cs.tamu.edu (Fang Feng) Newsgroups: gnu.gcc.help Subject: gcc vs. cc Date: 16 Jun 1993 04:05:07 GMT Organization: Computer Science Department, Texas A&M University Lines: 19 Distribution: usa Message-ID: <1vm65j$c83@tamsun.tamu.edu> NNTP-Posting-Host: neuron.tamu.edu