You can launch the ccrl command (the compilation driver) to perform compilation, assembly, linking, and other actions.
The assembler (asrl) and optimizing linker (rlink) can also start by itself.
Enter the following on the command line.
...: Pattern in proceeding [ ] can be repeated
{ }: Select from items delimited by the pipe symbol ("|")
The following points should be noted when entering a command.
The specification formats of options depend on the command that is used. |
A file name supported by Windows can be specified. |
Uppercase characters and lowercase characters are not distinguished for the alphabet of a file name. |
Two or more files can be specified as input. |
The examples of operations on the command line are shown below.
See "2.5 Option" for details about each option. |
C source file "file1.c" is compiled by ccrl, and then assembly source file "file1.asm" is generated.
Next, assembly source file "file1.asm" and "file2.asm" are assembled by asrl, and then object file "file1.obj" and "file2.obj" are generated.
The assemble list files are output to the current folder.
Finally, object file "file1.obj", "file2.obj", and "file3.obj" are linked by rlink, and then link map file "sample.map" and load module file "sample.abs" are generated.
>ccrl file1.c file2.asm file3.obj -asmopt=-prn_path -lnkopt=-list -osample.abs -cpu=S2 -dev=dr5f100pj.dvf |
In the ccrl command line, use the -asmopt option to specify an option dedicated to asrl; to specify an option dedicated to rlink, use the -lnkopt option. |
C source file "file1.c" is compiled by ccrl, and then assembly source file "file1.asm" is generated.
Next, assembly source file "file1.asm" and "file2.asm" are assembled by asrl, and then object file "file1.obj" and "file2.obj" are generated.
The assemble list files are output to the current folder.
Object file "file1.obj", "file2.obj", and "file3.obj" are linked by rlink, and then link map file "sample.map" and load module file "sample.abs" are generated.
C source file "file1.c" is compiled by ccrl, and then assembly source file "file1.asm" is generated.
Assembly source file "file1.asm" and "file2.asm" are assembled by asrl, and then object file "file1.obj" and "file2.obj" are generated.
Assemble list files are also output.
>asrl -c file1.asm -prn_path -cpu=S2 -dev=dr5f100pj.dvf >asrl -c file2.asm -prn_path -cpu=S2 -dev=dr5f100pj.dvf |
Object file "file1.obj", "file2.obj", and "file3.obj" are linked by rlink, and then link map file "sample.map" and load module file "sample.abs" are generated.