Chapter 2 C Language Reference
AutoCode Reference 2-2 ni.com
Stand-Alone Library
This section describes the system-specific and target-specific stand-alone
(sa) files supplied with your system.

System-Specific Files

National Instruments furnishes files to interface AutoCode and the
generated code to your development platform (AIX, Compaq, HP,
SGI, Solaris, Windows) and to the target processor in your test bed or
rapid-prototyping system. Both header (.h extension) and C (.c extension)
source files are provided in your src distribution directory. The names of
the distribution directories and files are shown in Table 2-2.
Table 2-1. Recognized C Preprocessor Defines for Supported Platforms
Platform Preprocessor Define Compiler Switch
AIX (IBM UNIX) IBM -DIBM
Compaq Tru64 5.0 OSF1 -DOSF1
HPUX (700 series) HP700 -DHP700
HPUX (other than 700) HP -DHP
SGI IRIX SGI -DSGI
Sun Solaris 2.xSOLARIS -DSOLARIS
Windows 2000/NT/9xMSWIN32 -DMSWIN32
Table 2-2. Distribution Directories and Files
Platform UNIX Windows
Top-Level
Directory
Environment variable: $MTXHOME %MTXHOME%
Executables Directory:
Executable:
$MTXHOME/bin
autostar
%MTXHOME%\bin
autostar
Utilities Directory:
Files:
Script:
$CASE/ACC/src
sa_*.c, sa_*.h
compile_c_sa.sh
%CASE%\ACC\src
sa_*.c, sa_*.h
compile_c_sa.bat