linker
A linker definition.
SourceForge logo
 
Description
A linker definition. linker elements may be placed either as children of a cc element or the project element. A linker element with an id attribute may be referenced by linker elements with refid or extends attributes.
 
Parameters
Attribute Description Type
base Sets the base address. May be specified in either decimal or hex. net.sf.antcontrib.cpptasks.types.FlexLong
classname Sets the class name for the adapter. Use the "name" attribute when the tool is supported. java.lang.String
debug If set true, all targets will be built for debugging. boolean
description Sets a description of the current data type. java.lang.String
entry Sets the starting address. java.lang.String
extends Specifies that this element extends the element with id attribute with a matching value. The configuration will be constructed from the settings of this element, element referenced by extends, and the containing cc element. org.apache.tools.ant.types.Reference
fixed If true, marks the file to be loaded only at its preferred address. boolean
id Sets an id that can be used to reference this element. java.lang.String
if Sets the property name for the 'if' condition. The configuration will be ignored unless the property is defined. The value of the property is insignificant, but values that would imply misinterpretation ("false", "no") will throw an exception when evaluated. java.lang.String
incremental If true, allows incremental linking. boolean
inherit If inherit has the default value of true, defines, includes and other settings from the containing element will be inherited. boolean
libtool Set use of libtool. If set to true, the "libtool " will be prepended to the command line boolean
map If set to true, a map file will be produced. boolean
name Sets linker type. Supported linkers
gccGcc Linker
ldLd Linker
arGcc Librarian
msvcMicrosoft Linker
bccBorland Linker
dfCompaq Visual Fortran Linker
iclIntel Linker for Windows (IA-32)
eclIntel Linker for Windows (IA-64)
iccIntel Linker for Linux (IA-32)
eccIntel Linker for Linux (IA-64)
CCSun ONE Linker
aCCHP aC++ Linker
os390OS390 Linker
os390batchOS390 Linker
os400IccLinker
sunc89C89 Linker
xlCVisualAge Linker
net.sf.antcontrib.cpptasks.LinkerEnum
rebuild If set true, all targets will be unconditionally rebuilt. boolean
refid Specifies that this element should behave as if the content of the element with the matching id attribute was inserted at this location. If specified, no other attributes or child content should be specified, other than "if", "unless" and "description". org.apache.tools.ant.types.Reference
stack Sets stack size in bytes. org.apache.tools.ant.types.FlexInteger
unless Set the property name for the 'unless' condition. If named property is set, the configuration will be ignored. The value of the property is insignificant, but values that would imply misinterpretation ("false", "no") of the behavior will throw an exception when evaluated. java.lang.String
 
Parameters as nested elements
 
linkerarg
Adds a linker command-line arg.
 
fileset
Adds a source file set. Files in these set will be processed by this configuration and will not participate in the auction.
 
libset
Adds a system library set.
 
syslibset
Adds a system library set.

Copyright © 2001-2002, Ant-Contrib Project