[comp.sys.amiga] SAS Announces 5.10 Upgrade for Lattice C

fgd3@jc3b21.UUCP (Fabbian G. Dufoe) (08/23/90)

   There has been some discussion about the future of the Lattice AmigaDOS
C Compiler.  SAS Institute, Lattice's parent company, has taken over
responsibility for the compiler.  In a letter to registered Lattice users
SAS announced a new compiler release, version 5.10.  Current Lattice users
can upgrade for the following cost:

   If your current version is      your upgrade cost is
              5.x                         $40
              4.x                        $100
         Prior to version 4              $125

The following is quoted from the letter I received from SAS.

--Fabbian Dufoe
  350 Ling-A-Mor Terrace South
  St. Petersburg, Florida  33705
  813-823-2350

UUCP: fgd3@jc3b21
      ...uunet!pdn!jc3b21!fgd3
-----------------------------------------------
SAS/C Compiler Version 5.1 for AmigaDOS Upgrade

This is an upgrade to the Lattice Amiga C Compiler Version 5.x  The major
features for Version 5.10 include:


AmigaDOS 2.0 Support

The produce now includes the 2.0 includes files, as well as the 1.3
includes.  This is a must for anyone serious about development for this
newest operating system release.


#Pragma limit

The limit on the number of parameters to #pragma libcall has been raised to
14.  This will allow ALL Amiga library functions to be called with
parameters in registers.


LSE AREXX Support

LSE, the editor, now has an AREXX interface.  This allows you to readily
customize your own commands and communicate with other AREXX compatible
programs.


Improved Workbench Utilization

For the novice user, the compiler now offers a simple workbench based
environment in which all operations of editing, compiling, linking and
running of a program can be done from the Workbench.


Performance Improvements

Many changes have been made to LC2 to improve the generated code.  The speed
of LC1 has been improved, especially when generating debugging information
with the -d option.  BLINK's speed has been greatly improved.

The linker, BLINK, is much faster in 5.10--up to twice as fast, depending
on your application.  The speed increase is automatic and does not require
you to change your scripts or LMK files.


LMK under Workbench

LMK can now be run from the Workbench by clicking on its icon or the icon of
a lmkfile listing LMK as its tool.


Default Options

Default compile/link options are now read from an environment variable, or
from a default file in your current directory.  This allows you to specify
your desired compile options in advance, then just simply invoke the
compiler to take advantage of them.  A 2.0-compatible compiler preferences
editor allows you to set default options using a point-and-click interface. 
The editor runs under both 1.3 and 2.0.


LSE Creates Icons

LSE now has the ability to create icons for all files.


Improved Profiler

The profiler, LPROF, now supports multiple code hunks.  This means you are
no longer required to use the SMALLCODE option to BLINK in order to use it.


EQUR support

The assembler now accepts the EQUR directive.


_aligned

LC1 now supports a new keyword, _aligned, which forces the object being
declared to the next longword boundary.


Prototype Generation

LC and LC1B's -pr option, which generates prototypes, now supports typedef
names.


Preprocessor Limits

The size of the preprocessor expansion buffer can now be set on the command
line.


Auto near to far

LC1 will automatically move near data to far if you attempt to declare too
much near data.


C++ comments

LC1 now supports C++-style line comments.  The can be mixed with normal C /*
comments.


New Warnings

Warnings have been added to LC1 to detect the following situations:

   o   A nested comment is detected and comment nesting is disabled.

   o   An unbalanced comment is detected.  (The line number of the
       beginning of the unbalanced comment is given.)

   o   An unbalanced #if/#ifdef is detected.  (The line number of the
       beginning of the #if/#ifdef is given.)