papa%USC-CSE@USC-ECL.ARPA (06/29/84)
From: Marco Papa <papa%USC-CSE@USC-ECL.ARPA> We have just received Version 2.10 of the Lattice "C" Compiler. The compiler seems much improved, especially in the standard UNIX-compatible functions. The following is a partial list of differences between Version 2.1 and 2.0: -- Extern/static objects as large as 64K are now permitted -- New -d flag to #define symbols from command line -- Automatic sensing of MS-DOS 1 vs. MS-DOS 2 -- Automatic sensing and use of 8087 math chip -- UNIX compatible math functions: exp,loglog10,pow,sqrt -- exponential functions sin,cos,tan,asin,acos,atan,atan2 -- trascendental functions sinh,cosh,tanh -- hyperbolic functions rand,srand -- simple random number generation drand -- generate random numbers eil,fabs,floor,fmod,frexp,ldexp,modf -- float conversions atof,atoi,atol -- simple ASCII conversions strtol -- convert ASCII to long integer ecvt -- convert floating point to ASCII matherr -- handle math function error -- Fork/Exec combination functions: fork/wait -- create child process and wait for it This uses function 4B of DOS 2, but I believe it does not uses COMMAND.COM to load the child process, unlike the exec() in the Info-Ibmpc library. I have not tested this function yet. Also the startup program automatically returns all the remaining memory space to the operating system (therefore there is no need to call function 4A before calling fork). The memory allocation functions sbrk and rbrk are much more closely coupled with DOS, since they operate using function 4A. -- Access to environment strings getenv -- get environment string by name -- Miscellaneous library additions remove -- same as unlink clearerr -- same as clrerr rename -- rename a file bdosx -- bdos function with poiter getche -- getch with echo setjmp -- save current stack for long return longjmp -- make long return (these last two functions will make a lot of C hackers happy!) -- Batch files for loading the compiler onto an IBM-PC/XT -- PLIB86 Object Library Manager of Phoenix Software The compiler costs $ 500 and it is available from: Lifeboat Associates 1651 Third Avenue New York, N.Y. 10028 As usual, I have no connection with Lattice, Inc. or Lifeboat Associates, except as a satisfied user. Marco Papa ARPA, CSNET: papa.usc-cse@csnet-relay UUCP: ...!randvax!uscvax!papa