[comp.sys.mac] MPW 2.0 inquiry

jdb@mordor.s1.gov (John Bruner) (06/23/87)

I've been leafing through the April APDA catalog (which only arrived
here last week), and I notice that a beta version of MPW 2.0 is now
available.  The description for the 2.0 C compiler says that the
compiler is being modified to optionally generate 68020 and 68881 code
and "to provide optional long word data and stack alignment."  Does
this mean that the compiler allows "int"s to be either 2 or 4 bytes
long?  Also, I recall reading somewhere that the version 2.0 compiler
would optionally allow Pascal-style strings instead of C-style strings
as arguments to Toolbox calls.  (I assume this means that there are
two sets of libraries.)

Is either of these speculations true?
-- 
  John Bruner (S-1 Project, Lawrence Livermore National Laboratory)
  jdb@mordor.s1.gov	...!seismo!mordor!jdb		(415) 423-4848

jww@sdcsvax.UCSD.EDU (Joel West) (06/23/87)

In MPW C, int's are still 32 bits, as one might expect.  Global
and stack-based variables and data structures can be aligned to
32-bit boundaries for a slight speed improvement and no loss of
compatibility.  Like the Pascal compiler, 68020-only and 68881-only
code can also be generated.

In the interfaces, PARAMTEXT is no-glue, while ParamText remains glue; 
speculation is these will eventually become ParamText and paramtext,
respectively.
-- 
	Joel West
	{ucbvax,ihnp4}!sdcsvax!jww or jww@sdcsvax.ucsd.edu