Article View: gnu.gcc.help
Article #53573gcc 1.40 on sparc-2 running 4.1.1
From: Michael DeCorte
Date: Tue, 29 Oct 1991 15:51
Date: Tue, 29 Oct 1991 15:51
34 lines
1276 bytes
1276 bytes
I am having a problem with gcc. When the following program is
compiled with the below option I get a core dump on the assignment to
log. If I remove the -lm the problem goes away. Is there a problem
or have I done something wrong when building gcc?
------------------------------
gcc -o cprd cprd.c -lm
------------------------------
#include <stdio.h>
FILE *log;
void main()
{
log = (FILE *)NULL;
}
------------------------------
Please reply via e-mail.
thank you
mrd@ddd.prepnet.com
Michael DeCorte
Software Engineer
Dynamic Digital Displays, Inc.
St. Davids Center/Suite 100
130 Radnor-Chester Road
St. Davids, PA 19087
215-975-0975 FAX:0978
Technical Details
Message-ID:
<9110291551.AA11538@sparkie.ddd.com.ddd.com>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ddd.prepnet.com!mrdShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ca1b31bc950a14aa,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-10-30 19:33:02 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ddd.prepnet.com!mrd From: mrd@ddd.prepnet.com (Michael DeCorte) Newsgroups: gnu.gcc.help Subject: gcc 1.40 on sparc-2 running 4.1.1 Message-ID: <9110291551.AA11538@sparkie.ddd.com.ddd.com> Date: 29 Oct 91 15:51:07 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 34