makelcf.exe

Location

$REVOLUTION_SDK_ROOT/X86/bin/

Overview

Generates static module linker command file and symbol list from all dynamic (relocatable) module files.

Description

This program predicts the export information of static module from import information (information to reference external module) and export information (information to allow referencing from external module) of all dynamic modules. It then creates a linker command file and symbol list of the static module.
Specifically, this collects the export symbol information, and outputs after removing symbols from duplicate and import information.

The symbol list is used to generate a module file (.sel) of static module. (See makerso.exe)

Options

-o

Specifies the name of the output linker command file.
When this is omitted, the output file name is static.lcf.

-s

Specifies the file name of the output symbol list.
When this is omitted, the output file name is symbol.lst.

-t

Specifies the template for the linker command file.
Specify <revolution/eppc.$(PLATFORM).lcf>.
This cannot be omitted.

@<Response File>

The arguments can be configured through the response file (which lists the arguments).

Return Values

0 Conversion successful,
1 An error not included in the following errors:
2 RSO file read failed.
3 No RSO file specified.
4 Linker command file name not specified after -o.
5 Symbol list file name not specified after -s.
6 Template file name not specified after -t.
7 Template file read failed.
8 File output error.
9 Unspecifiable option.
10 Too many arguments specified (2048 max.).
11 Response file read failed.
12 Abnormally long file name specified.
13 Allocation of conversion memory failed.

Examples

This example creates static module linker command file (static.lcf) and symbol list (symbol.lst) from all dynamic module files (a.rso, b.rso) and the linker command template (eppc.RVL0.lcf).


% makelcf.exe -o static.lcf -s symbol.lst -t eppc.RVL.lcf a.rso b.rso

Use the response file (response.txt) as follows:


% makelcf.exe @response.txt

The response.txt example for the above.

 
-o static.lcf -s symbol.lst -t eppc.RVL.lcf a.rso b.rso

See Also

Tool List

Revision History

06/14/2006 Initial version.
10/25/2006 Added support for multiple files.
11/1/2006 Added support for return values.


CONFIDENTIAL