Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!tronsbox!tron1 From: tron1@tronsbox.xei.com (HIM) Newsgroups: comp.sys.amiga Subject: Lattice/SAS C 5.10 HERE! Message-ID: <26d1f3d3-2894comp.sys.amiga@tronsbox.xei.com> Date: 22 Aug 90 02:58:24 GMT Lines: 131 Ok, I just receive my SAS/C (Lattice C) 5.10 upgrade in the mail and figured I would post my initial impressions. I LIKE IT. I have been a customer of SAS for DOS products for a while as a consultant (the make great courseware) and always like the company. Anyone who was worried about the quality or dedication of this company to this product can breathe easy. The upgrade comes with 6 disks ( a whole new installation set , not patches BTW ) and some new pages to the manual. Here are the high points : 1) The LSE integrated editor environment now supports AREXX. 2) The LSE editor is now compatible with 8/16 color workbenches. 3) The linker (BLINK) is faster in 5.10 by up to 200% 4) WORKBENCH COMPATIBLE : This will help those new to the C world on the Amiga all program development can be done under icon and point/click control. There is a VERY nice program to set compiler options that can help EVERYONE get better use out of the compiler. 5) LPROF - the profiler, now supports multiple code hunks. 6) The assembler now supports EQUR. 7) _aligned - this will allow you to say .. struct FileInfoBlock _aligned foo; that will force foo to be longword aligned. 8) Prototype Generation - LC and LC1B's -pr option generates prototypes and now supports TYPEDEF'ed names. 9) Option added to expand the limits in the pre-processor. 10) ALTERNATE startup code : c.o - standard startup code. cback.o - Detaches process from CLI and runs it in the background ala runback. cres.o - Makes it possible to RESIDENT the program. This startup code makes a copy of the data section each time it is invoked, so each invocation will get a differnt data section. Thus, all programs linked with cres.o can be placed on the resident list as PURE. You must have less than 64k of external data to use cres.o catch.o, catchnr.o - Produces a snapshot on software exceptions. catch.o will put up a requester and ask if you want a snapshot file written and catchnr.o just writes it. The TB command can read snapshot files and tell you what was happening when it went down. (shades of core dump ?? ) catchres.o, catchresnr.o - a combination of catch.o and res.o . 11) Auto near to far - LC1 will move near data to far if you attempt to decalare to much near data. 12) no sizeof warning - sizeof( *foo ) is valid now even if foo is not initialized. 13) offset macros - Support for all varieties of offset macro that we know of, including those in GNU and XWindos code. 14) C++ comments - LC1 now supports C++ style comments .. j = 0; // Initialize j (this is a comment) 15) New warnings added. 16) Performance inproved in generated code. 17) #pragma limit - raised to 14. ALL Amiga library calls can now be made with all parameters in registers. 18) Minimum stack size - 5.10 allows a stack variable to be set at compile time. When the code is run, it will set the stack to this size on its own. 19) Libraries - opendir, readdir, seekdir, telldir rewindir, closedir, stat and isatty Now equate to the UN*X counterparts. 20) AMIGADOS 2.0 SUPPORT. ALL programs and utilities in this evironment will function under 2.0 with the new imagery, and 2.0 include and header files are part of the environment. ALL IN ALL ... not bad for 40$ !!!! ========[ Xanadu Enterprises Inc. Amiga & Unix Software Development]======== = "And in the darkened offices, the terminals shine like stars." = ============= Ken Jamieson: uunet!tronsbox.xei.com!tron1 ================== = NONE of the opinions represented here are endorsed by either = = Xanadu Enterpises or its clients, AT&T Bell Labs or others. = ==== The Romantic Encounters BBS 201-759-8450(PEP) / 201-759-8568(2400) ====