Manas Laha
Wed, 12 Feb 2003 02:07:25 -0800
Soumyadip Modak wrote: > > I was trying to complete my computer lab exercises using gcc 3.2 (I > think that's what comes with dead rat 8). But everytime I compile a > program having multiplication/division, the gcc ain't saying anything > but the program runs upto the part before the calculation and then > gives a segmentation fault. Other functions that I'v tried are > addition and modulus, but no seg fault for these operators. What do I > do?
Tough one. Have you tried to write a small test program that does multiplication and division and see if it works alright? If it does, the problem is likely to be in the program you are writing for your assignment. (BTW, I just downloaded gcc3.2 source & compiled the same on my P4 that runs RH 7.3. A program that involves the basic arithmetic operations runs without problems when compiled with this new compiler. And, with the right options the code is _fast_. Beats gcc2.95 by 35-45%!) - Manas Laha -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3