SAS/C Install
Download Disks
- From https://archive.org/download/CommodoreAmigaApplicationsADF
- Download "SAS C Compiler v6.50 (1992)(SAS Institute)" Disk 1 - 6.
- Extract Zip file for adf files
Install SAS/C 6.50
- Mount adf files 1 - 4 in WinUAE
- From Workbench open SASC_6.50_Disk_1
- Run Install_SASC_6.50
- Install for Real > Proceed
- Install to Hard Disk
- Install to Work:Tools > Proceed
- Package will be installed in Work:Tools/sc > Proceed
- Leave all Items Selected > Proceed
- Leave all Items Selected again > Proceed
- Install all Libraries > Proceed
- Insert Disk 5 & 6 when prompted
- Note assignments > Proceed
- Proceed to finish
- Eject all disk
- Reboot (Insert + Home + Ctrl)
Additional Information
Directories and folders
- SC: - The main installation folder and assign containing the programs, libraries, headers and sample code.
- SC:C - The compiler program files (added to path)
- LIB: - The SAS/C and Amiga link library files
- INCLUDE: - The C compiler and amiga NDUK header files
- CXXINCLUDE: - The C++ compiler header files
SAS/C Main Programs
- SC - The SAS/C C Compiler
- SE - The SAS/C Editor
- SLINK - The library linker
- ASM - The SAS/C 680x0 Assembler
- SCOPTS - The SAS/C Options configuration tool
- SMAKE - The SAS/C Make tool using smakefile project config
- CPR - The SAS/C Source Debugger (CodeProbe)
Manuals and Help
The original manuals can be found here: - SAS/C Development System User's Guide, Volume 1: Introduction, Compiler, Editor, Version 6.50 - SAS/C Development System User's Guide, Volume 2: Debugger, Utilities, Assembler, Version 6.50 - SAS/C Development System Library Reference, Version 6.50
Scroll down to find a PDF download link, should you want it locally. Good for searching. Although the OCR is poor and often gets it wrong.
The AmigaGuide help manuals can be found in Work:Tools/sc/help/sc.guide
or execute amigaguide sc:help/sc.guide
Most of install information was taken from SAS/C 6.50 Setup Instructions
How to Debug
See - SAS/C Development System User's Guide, Volume 2: Debugger, Utilities, Assembler, Version 6.50 for full CPR Instructions.
Quick setup
Enable Debugging
ed SCOPTIONS
DEBUG=SYMBOLFLUSH
ed link - addsym
SLINK addsym WITH Conkit.with
make recomp and link to rebuild with Debugging information.
cpr Gonk
Command
- Menu > File > Module > Screens.c - Change file
- F7 - Step into
- F8 - Step Over
- double click line to set breakpoint.
- go - Run till breakpoint, or exit
- d variable - display variable
- d *mystruct - display structure from pointer.
- help - load help
- help display - jump straight to help for the command