S5U1C17001C ManUal
EPSOn
11-27
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
11
Tools
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
.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...