Epson S5U1C17001C Manual page 654

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

Usage examples
(1) Creating a new archive
ar rs mylib.a func1.o func3.o
(mylib.a: func1.o + func3.o)
When the specified archive (mylib.a) does not exist, a new archive is created and the specified object files
(func1.o and func3.o) are added into it in the specified order.
(2) adding objects
ar rs mylib.a func4.o func5.o
(mylib.a: func1.o + func3.o + func4.o + func5.o)
func4.o and func5.o are added at the end of mylib.a.
(3) adding an object to the specified location
ar ras func1.o mylib.a func2.o
(mylib.a: func1.o + func2.o + func3.o + func4.o + func5.o)
func2.o is added behind the func1.o in mylib.a.
(4) replacing objects
ar rus mylib.a func1.o func2.o func3.o func4.o func5.o
(mylib.a: func1.o + func2.o + func3.o + func4.o + func5.o)
If there are files from among func1.o, func2.o, func3.o, func4.o and func5.o that have been
updated after they have been added into mylib.a, the objects in mylib.a are replaced with the newer files.
The objects that have not been updated are not replaced.
(5) Extracting an object
ar x mylib.a func5.o
(mylib.a: func1.o + func2.o + func3.o + func4.o + func5.o)
func5.o is extracted from mylib.a and an object file is created. The archive is not modified.
(6) removing an object
ar ds mylib.a func5.o
(mylib.a: func1.o + func2.o + func3.o + func4.o)
func5.0 is removed from mylib.a.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
11 OTHEr TOOlS
11
Tools
11-27

Advertisement

Table of Contents
loading

Table of Contents