Chapter 1 Getting Started
6 Setup
1.5
Setup
These procedures are for setting up this system when it has just been installed or for altering basic
settings.
Setting command path
Unix uses the environment variable PATH when searching for executable files. Setting up this variable
properly allows users to omit the directory name for commands and run them using their base names
only.
If this system has been installed in /usr/local/bin, for example, adding the directory /usr/local/bin to the
PATH environment variable permits the use of the command name only for the commands in this
system.
Under Unix, most users initialize environment variables via a start-up file named .cshrc and located in
the user's home directory. If this is the case, use an editor to modify the PATH variable setting in this
start-up file.
To put the changes into effect, either log out and then log in again or use the source command to
execute the contents of .cshrc.
Start-up files
The assembler and linker start by reading start-up files which contain statements for initializing start-
up variables.
The assembler start-up file (.as103rc) contains statements specifying the following three items.
1. The default language and character coding scheme for messages from the assembler
2. The radix notation used for numbers
3. The default toggle switch setting for optimization
The linker start-up file (.ld103rc) contains statements specifying the following eight items.
1. The language and character coding scheme for messages from the linker
2. A toggle controlling output of debugging information to the executable file
3. A toggle controlling output of the symbol table to the executable file
4. A toggle controlling output of DATA sections to the executable file
5. A toggle controlling output of a map file
6. A toggle controlling output of an executable file when there are errors
7. A library file
8. A directory searching for a library file
The assembler and linker search directories for these start-up files in the following order: the current
directory, the user's home directory, and the directory containing the executable. If they find such a file,
they use the contents to initialize their starting parameters. Otherwise, they set the parameters to their
default values. These default values are given in the section "Start-up file format."
Summary of Contents for PanaXSeries MN1030 Series
Page 1: ...MICROCOMPUTER MN1030 MN1030 Series Cross Assembler User s Manual Pub No 13110 120E ...
Page 2: ......
Page 13: ...1 Chapter 1 Getting Started ...
Page 25: ...2 Chapter 2 Program Development Flow ...
Page 32: ...Chapter 2 Program Development Flow 20 Programming with Assembler ...
Page 33: ...3 Chapter 3 Introduction to Operation ...
Page 54: ...Chapter 3 Introduction to Operation 42 Conditional Assembly and Linking ...
Page 55: ...4 Chapter 4 Optimization ...
Page 71: ...5 Chapter 5 Using Assembler ...
Page 95: ...6 Chapter 6 Using Linker ...
Page 128: ...Chapter 6 Using Linker 116 Instruction RAM Support ...
Page 129: ...7 Chapter 7 Types of Source Statements ...
Page 138: ...Chapter 7 Type of Source Statements 126 Blank Statements ...
Page 139: ...8 Chapter 8 Writing Source Statements ...
Page 157: ...9 Chapter 9 Writing Machine Language Instruction Statements and Directive Statements ...
Page 193: ...10 Chapter 10 Writing Assembler Control Statements ...
Page 217: ...11 Chapter 11 Writing Macro Control Statements ...
Page 236: ...Chapter 11 Writing Macro Control Statements 224 irpc ...
Page 237: ...12 Chapter 12 List of Machine Language Instructions ...
Page 261: ...13 Chapter 13 Error Messages ...
Page 276: ...Chapter 13 Error Messages 264 Linker Errors ...
Page 277: ...14 Chapter 14 Readinig List Files ...
Page 285: ...15 Chapter 15 Using Library Manager ...
Page 309: ...16 Chapter 16 Notes on Operating Environment ...
Page 321: ...17 Chapter 17 Appendix ...
Page 338: ... 4 Index ...