Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ncar!unmvax!uokmax!servalan!epmooch!ben From: ben@epmooch.UUCP (Rev. Ben A. Mesander) Newsgroups: comp.sys.amiga.programmer Subject: Re: New Eiffel-like OOP language Message-ID: Date: 30 Jun 91 15:23:09 GMT References: <1991Jun17.161534.323@nntp-server.caltech.edu> <15547@exodus.Eng.Sun.COM> <1991Jun29.232046.6932@bernina.ethz.ch> Organization: Elvis Presley Museum Of Obsolete Computing Hardware Lines: 33 In article <1991Jun29.232046.6932@bernina.ethz.ch> wild@nessie.cs.id.ethz.ch (Markus Wild) writes: >In article ben@epmooch.UUCP (Rev. Ben A. Mesander) writes: >[.....] >>file. The problems I was having with compiling GNU chess went away in >>the latest release, but some other people have reported problems with >>f2c output still causing SAS/C to generate incorrect branches in the >>presence of very large functions. > >So why don't you just use gcc for those huge beasts? Gcc doesn't have >such 16bit problems, it doesn't have problems with huge macros, so I >can really see no reason why not to use it for such programs as gnu-chess, Markus, I didn't do that, because at the time, GCC hadn't been ported to the Amiga. I have a copy of GCC on my hard drive now, which is what I most certainly use for such a project. GNU Chess was a bear to port with SAS/C. Just as an experiment, I once tried to compile the source that now works under SAS with GCC to see what sort of speed improvement I got in the code. Well, it no longer will compile with GCC, mainly due to problems with things like: spam(short foo, short bar) Which SAS is apparently sure to make sure that you cast everything passed to spam as shorts (even constants) (This actually was Lattice 5.05, I beleive) and GCC didn't like the things I had to do to fix that. Oh, and Lattice didn't like "short unsigned int", I had to switch that around to "unsigned short int". I thought that was sort of silly. I also had to expand some macros by hand, I think. SAS/C 5.10a is a big improvement over Lattice 5.05. -- | ben@epmooch.UUCP (Ben Mesander) |CNEWSMUSTDIECNEWSMUSTDIECNEWSM| | ben%servalan.UUCP@uokmax.ecn.uoknor.edu |USTDIECNEWSMUSTDIECNEWSMUSTDIE| | ...!chinet!servalan!epmooch!ben |CNEWSMUSTDIECNEWSMUSTDIECNEWSM|