Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ariel.unm.edu!unmvax!uokmax!servalan!epmooch!ben From: ben@epmooch.UUCP (Rev. Ben A. Mesander) Newsgroups: comp.sys.amiga.programmer Subject: Re: Lattice C and Numerical Recipes Message-ID: Date: 20 Feb 91 12:54:36 GMT References: Lines: 29 >In article judge@alchemy.tcnet.ithaca.ny.us (Rory Toma) writes: >I seem to be having trouble getting the two to be mutually compatable. >My system crashes, so it's hard to detect errors. Any suggestions? > If you compile with a debug level, and run under cpr, it will catch many otherwise GURU-causing problems. CPR has a few little faults, but for the most part, is wonderful. One of its faults is that it only understands certain floating point math modes, so be sure and read the documentation for the 'dump float' to make sure you compile in the right mode. I've had many SAS/C programs that work fine with GCC, work fine with SAS's built-in math modes, crash like crazy with the library floating point options. Yes, Virginia, I know how to use the right compiler switches and how to link with the right math library. It sure would be nice if CPR could help me find the problem... These are established programs that have been running on other platforms/compilers with no problem. >rory -- ben@epmooch.UUCP ben%servalan.UUCP@uokmax.ecn.uoknor.edu {chinet,uokmax}!servalan!epmooch!ben (Ben Mesander) War in gulf: newpath 288 396 216 0 360 arc 288 612 moveto 288 180 lineto 288 396 moveto 136 244 lineto 288 396 moveto 440 244 lineto 36 setlinewidth stroke showpage