🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52350

problem with GCC 2.2.2 on MSDOS

#52350
From: vspicer
Date: Thu, 26 Nov 1992 04:22
30 lines
1935 bytes
hello. i've recently started playing with GCC 2.2.2 on my 80386-33.
i don't have a math co-processor so am using the emulator that came
along with the package. 

gcc is doing some very disconcerting things, most of them involving
math. for example, trying to store things in an array ie) double x[1000]
results in the contents being messed up. 
 
tonight a calculation program which was split into many functions
died a horrible death while trying to call a simple integer defined
function. i've tested these programs on GCC on our local Sun-OS box and
they work fine there, so the code isn't messed up.

i know the math emulator works; i'm using Perl-386 which also needs the
same emulator to work, and it can do the same math that's messing up
gcc without a problem.

i only have 4 meg of RAM. is this a problem :) ?   i can get the thing to
compile simple "hello world" stuff and it CAN do some math if it's not
involving arrays or globals spread across a bunch of functions.

help and ideas appreciated.

thanks in advance
	vic spicer 

------
vic spicer, recent PERL convert/ data systems,instrument electronics and
software person with the Time of Flight Mass Spec. Lab
at the University of Manitoba Dept. of Physics
Technical Details
Message-ID: <ByB33H.EM@ccu.umanitoba.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!vspicer

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1ace549656a05c3a,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-11-25 21:33:55 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!vspicer
From: vspicer@ccu.umanitoba.ca
Subject: problem with GCC 2.2.2 on MSDOS
Message-ID: <ByB33H.EM@ccu.umanitoba.ca>
Originator: vspicer@ccu.umanitoba.ca
Sender: news@ccu.umanitoba.ca
Nntp-Posting-Host: ccu.umanitoba.ca
Organization: University of Manitoba, Winnipeg Manitoba Canada
Date: Thu, 26 Nov 1992 04:22:34 GMT
Lines: 30