Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc

09.06.2013 Views

CHAPTER 1 INTRODUCTION This manual describes XENIX 286 Extended System commands used for developing and maintaining programs. These commands support program development, checking, debugging, maintenance, and version control. Prerequisites This manual presumes that you understand the C programming language and basic programming concepts. This manual also presumes some knowledge of XENIX or UNIX and the standard shell sh. Manual Organ ization This manual contains the following chapters and appendixes: 1. Introduction: manual overview, prerequisites, organization, and notation. 2. cc: C Compiler: the cc command for compiling C programs and assembling and linking the resulting modules. 3. lint: C Program Checker: a program that checks C programs for syntactic and semantic errors. 4. make: Program Maintainer: a program that automates the generation of program files, independent of the programming language or programming tools used. 5. SCCS: Source Code Control System: a set of commands to manipulate multiple versions of a single program or document, stored in a single file instead of in separate files for each version. 6. adb: Program Debugger: a program for debugging C or assembly language programs. 7. as: Assembler: the assembler used to assemble separate assembly language programs. 8. csh: C Shell: a command interpreter that provides greater flexibility and more power than the standard shell sh. 9. lex: Lexical Analyzer Generator: a program that produces another program, called a lexical analyzer, that breaks up an input stream into "tokens," using rules specified to the generator. 1-1

Introduction XENIX Programming 10. yacc: Compiler-Compiler: a program that produces a parser program that translates input according to rules specified to yacc. 11. m4: Macro Processor: a program that processes macros defined and used in its input, producing output with the macros replaced by the text that they stand for. A. C Language Portability: how to write C language programs so that they are portable to other XENIX systems running on other types of hardware. B. Programming Commands: reference information for all the programming commands in the XENIX 286 Extended System. C. Related Publications: a list of related XENIX 286 manuals. Notation These notational conventions are used in this manual: • Literal names are balded where they occur in text, e.g., /sys/include, printf, dev_tab, EOF. • Syntactic categories are italicized where they occur and indicate that you must substitute an instance of the category, e.g., filename. • In examples of dialogue with the XENIX 286 system, characters entered by the user are balded. • In syntax descriptions, optional items are enclosed in brackets ( [] ). • Items that can be repeated one or more times are followed by an ellipsis ( ••• ). • Items that can be repeated zero or more times are enclosed in brackets and followed by an ellipsis ( [ ] ••• ). • A choice between items is indicated by separating the items with vertical bars ( I ). 1-2

Introduction <strong>XENIX</strong> Programming<br />

10. yacc: Compiler-Compiler: a program that produces a parser program that<br />

translates input according to rules specified to yacc.<br />

11. m4: Macro Processor: a program that processes macros defined and used in its<br />

input, producing output with the macros replaced by the text that they stand for.<br />

A. C Language Portability: how to write C language programs so that they are<br />

portable to other <strong>XENIX</strong> systems running on other types of hardware.<br />

B. Programming Commands: reference information for all the programming<br />

commands in the <strong>XENIX</strong> <strong>2<strong>86</strong></strong> Extended System.<br />

C. Related Publications: a list of related <strong>XENIX</strong> <strong>2<strong>86</strong></strong> manuals.<br />

Notation<br />

These notational conventions are used in this manual:<br />

• Literal names are balded where they occur in text, e.g., /sys/include, printf,<br />

dev_tab, EOF.<br />

• Syntactic categories are italicized where they occur and indicate that you must<br />

substitute an instance of the category, e.g., filename.<br />

• In examples of dialogue with the <strong>XENIX</strong> <strong>2<strong>86</strong></strong> system, characters entered by the<br />

user are balded.<br />

• In syntax descriptions, optional items are enclosed in brackets ( [] ).<br />

• Items that can be repeated one or more times are followed by an ellipsis ( ••• ).<br />

• Items that can be repeated zero or more times are enclosed in brackets and<br />

followed by an ellipsis ( [ ] ••• ).<br />

• A choice between items is indicated by separating the items with vertical bars<br />

( I ).<br />

1-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!