s5last No Longer Dumps Core!

Pete Holsberg pjh at mccc.edu
Sun Jun 30 11:06:04 AEST 1991


In article <16578 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
=In article <1991Jun28.005902.13061 at mccc.edu> pjh at mccc.edu (Peter J. Holsberg) writes:
=>Chalk up another for AT&T's ANSI C compiler!  I recompiled s5last with
=>the K&R compiler distributed with Microport SVR3 and it works perfectly!
=
=It should be noted that such symptoms do not mean that the compiler had
=a problem, merely that it generated code differently.

Could you explain how a compiler could generate code that would cause a
bus error and a core dump, while a different compiler would generate
code from the same source file that does not?  I'm pretty ignorant about
the different codes that compilers produce.

=>Welllll, *almost* perfectly -- it still doesn't exclude things in the
=>exclude list.
=
=See?

And that's a puzzler, because one of the people I thanked for his help
compiled it with the ISC compiler and the exclude list works.  I don't
understand how legitimate C code doesn't behave under this compiler or
that unless the compilers are buggy.

Thanks,
Pete
-- 
Prof. Peter J. Holsberg      Mercer County Community College
Voice: 609-586-4800          Engineering Technology, Computers and Math
FAX: 609-586-6944            1200 Old Trenton Road, Trenton, NJ 08690
Internet: pjh at mccc.edu	     TCF 92 - ??? ??-??, 1992



More information about the Comp.unix.questions mailing list