File: LinkerDef.html

package info (click to toggle)
cpptasks 1.0~b5-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 14,832 kB
  • sloc: java: 19,604; xml: 8,893; ansic: 5; makefile: 4
file content (423 lines) | stat: -rw-r--r-- 11,324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>cpptasks: Compile tasks for Apache Ant - linker</title>
    <style type="text/css" media="all">
      @import url("../css/maven-base.css");
      @import url("../css/maven-theme.css");
      @import url("../css/site.css");
    </style>
    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                  <a href="http://ant-contrib.sourceforge.net/" id="bannerLeft">
    
            ant-contrib
    
            </a>
                        <a href="http://www.sourceforge.net/" id="bannerRight">
    
    
            </a>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2008-04-02
                          |   
                <a href="http://ant-contrib.sourceforge.net/" class="externalLink">ant-contrib</a>
                &gt;
      
                <a href="../">cpptasks</a>
                          </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Get cpptasks</h5>
            <ul>
              
    <li class="none">
                    <a href="http://sourceforge.net/project/showfiles.php?group_id=36177" class="externalLink">Download</a>
          </li>
              
    <li class="none">
                    <a href="../changes-report.html">Changes</a>
          </li>
              
    <li class="none">
                    <a href="../license.html">License</a>
          </li>
          </ul>
              <h5>About cpptasks</h5>
            <ul>
              
    <li class="none">
                    <a href="../index.html">Usage</a>
          </li>
          </ul>
              <h5>Elements</h5>
            <ul>
              
    <li class="none">
                    <a href="../antdocs/CCTask.html">cc</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/CompilerDef.html">compiler</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/DefineSet.html">defineset</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/DistributerDef.html">distributer</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/LibrarySet.html">libraryset</a>
          </li>
              
    <li class="none">
              <strong>linker</strong>
        </li>
              
    <li class="none">
                    <a href="../antdocs/SystemLibrarySet.html">syslibraryset</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/TargetDef.html">targetplatform</a>
          </li>
              
    <li class="none">
                    <a href="../antdocs/VersionInfo.html">versioninfo</a>
          </li>
          </ul>
              <h5>Community</h5>
            <ul>
              
    <li class="none">
                    <a href="../mail-lists.html">Mailing Lists</a>
          </li>
              
    <li class="none">
                    <a href="../issue-tracking.html">Issue Tracking</a>
          </li>
              
    <li class="none">
                    <a href="http://sourceforge.net/projects/ant-contrib/" class="externalLink">Project Page</a>
          </li>
              
    <li class="none">
                    <a href="http://sourceforge.net/news/?group_id=36177" class="externalLink">News</a>
          </li>
          </ul>
              <h5>Development</h5>
            <ul>
              
    <li class="none">
                    <a href="../source-repository.html">Repository</a>
          </li>
              
    <li class="none">
                    <a href="../apidocs/index.html">JavaDoc</a>
          </li>
              
    <li class="none">
                    <a href="../integration.html">Continuous Integration</a>
          </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="linker"></a>
linker</h2>
<div class="section"><h3><a name="Description"></a>
Description</h3>
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.</div>
<div class="section"><h3><a name="parameters"></a>
parameters</h3>
<table class="bodyTable"><tr class="a"><td><b>Attribute</b>
</td>
<td><b>Description</b>
</td>
<td><b>Type</b>
</td>
</tr>
<tr class="b"><td>base</td>
<td>Sets the base address. May be specified in either decimal or hex.</td>
<td><a href="../apidocs/net/sf/antcontrib/cpptasks/types/FlexLong.html">FlexLong</a>
</td>
</tr>
<tr class="a"><td>classname</td>
<td>Sets the class name for the adapter. Use the &quot;name&quot; attribute when the
 tool is supported.</td>
<td>String</td>
</tr>
<tr class="b"><td>debug</td>
<td>If set true, all targets will be built for debugging.</td>
<td>boolean</td>
</tr>
<tr class="a"><td>description</td>
<td>Sets a description of the current data type.</td>
<td>String</td>
</tr>
<tr class="b"><td>entry</td>
<td>Sets the starting address.</td>
<td>String</td>
</tr>
<tr class="a"><td>extends</td>
<td>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.</td>
<td>Reference</td>
</tr>
<tr class="b"><td>fixed</td>
<td>If true, marks the file to be loaded only at its preferred address.</td>
<td>boolean</td>
</tr>
<tr class="a"><td>id</td>
<td>Sets an id that can be used to reference this element.</td>
<td>String</td>
</tr>
<tr class="b"><td>if</td>
<td>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 (&quot;false&quot;, &quot;no&quot;) will throw an exception when
 evaluated.</td>
<td>String</td>
</tr>
<tr class="a"><td>incremental</td>
<td>If true, allows incremental linking.</td>
<td>boolean</td>
</tr>
<tr class="b"><td>inherit</td>
<td>If inherit has the default value of true, defines, includes and other
 settings from the containing cc element will be inherited.</td>
<td>boolean</td>
</tr>
<tr class="a"><td>libtool</td>
<td>Set use of libtool.
 
 If set to true, the &quot;libtool &quot; will be prepended to the command line</td>
<td>boolean</td>
</tr>
<tr class="b"><td>map</td>
<td>If set to true, a map file will be produced.</td>
<td>boolean</td>
</tr>
<tr class="a"><td>name</td>
<td>Sets linker type.
 
 
 <table class="bodyTable"><thead>Supported linkers </thead><tr class="b"><td>gcc</td>
<td>Gcc Linker</td>
</tr>
<tr class="a"><td>g++</td>
<td>G++ Linker</td>
</tr>
<tr class="b"><td>ld</td>
<td>Ld Linker</td>
</tr>
<tr class="a"><td>ar</td>
<td>Gcc Librarian</td>
</tr>
<tr class="b"><td>msvc</td>
<td>Microsoft Linker</td>
</tr>
<tr class="a"><td>bcc</td>
<td>Borland Linker</td>
</tr>
<tr class="b"><td>df</td>
<td>Compaq Visual Fortran Linker</td>
</tr>
<tr class="a"><td>icl</td>
<td>Intel Linker for Windows (IA-32)</td>
</tr>
<tr class="b"><td>ecl</td>
<td>Intel Linker for Windows (IA-64)</td>
</tr>
<tr class="a"><td>icc</td>
<td>Intel Linker for Linux (IA-32)</td>
</tr>
<tr class="b"><td>ecc</td>
<td>Intel Linker for Linux (IA-64)</td>
</tr>
<tr class="a"><td>CC</td>
<td>Sun ONE Linker</td>
</tr>
<tr class="b"><td>aCC</td>
<td>HP aC++ Linker</td>
</tr>
<tr class="a"><td>os390</td>
<td>OS390 Linker</td>
</tr>
<tr class="b"><td>os390batch</td>
<td>OS390 Linker</td>
</tr>
<tr class="a"><td>os400</td>
<td>IccLinker</td>
</tr>
<tr class="b"><td>sunc89</td>
<td>C89 Linker</td>
</tr>
<tr class="a"><td>xlC</td>
<td>VisualAge Linker</td>
</tr>
<tr class="b"><td>wcl</td>
<td>OpenWatcom C/C++ linker</td>
</tr>
<tr class="a"><td>wfl</td>
<td>OpenWatcom FORTRAN linker</td>
</tr>
</table>
</td>
<td><a href="../apidocs/net/sf/antcontrib/cpptasks/LinkerEnum.html">LinkerEnum</a>
</td>
</tr>
<tr class="b"><td>newenvironment</td>
<td>Do not propagate old environment when new environment variables are
 specified.</td>
<td>boolean</td>
</tr>
<tr class="a"><td>rebuild</td>
<td>If set true, all targets will be unconditionally rebuilt.</td>
<td>boolean</td>
</tr>
<tr class="b"><td>refid</td>
<td>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 &quot;if&quot;, &quot;unless&quot; and &quot;description&quot;.</td>
<td>Reference</td>
</tr>
<tr class="a"><td>stack</td>
<td>Sets stack size in bytes.</td>
<td>FlexInteger</td>
</tr>
<tr class="b"><td>unless</td>
<td>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 (&quot;false&quot;, &quot;no&quot;) of the behavior will throw an
 exception when evaluated.</td>
<td>String</td>
</tr>
</table>
</div>
<div class="section"><h3><a name="parameters_as_nested_elements"></a>
parameters as nested elements</h3>
<dl><dt><a href="#about:blank">env</a>
</dt>
<dd>Add an environment variable to the launched process.</dd>
<dt><a href="ConditionalFileSet.html">fileset</a>
</dt>
<dd>Adds a source file set.
 
 Files in these set will be processed by this configuration and will not
 participate in the auction.</dd>
<dt><a href="LibrarySet.html">libset</a>
</dt>
<dd>Adds a system library set.</dd>
<dt><a href="LinkerArgument.html">linkerarg</a>
</dt>
<dd>Adds a linker command-line arg.</dd>
<dt><a href="LinkerParam.html">linkerparam</a>
</dt>
<dd>Adds a compiler command-line arg.</dd>
<dt><a href="SystemLibrarySet.html">syslibset</a>
</dt>
<dd>Adds a system library set.</dd>
</dl>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2001-2008
    
          Ant-Contrib Project
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>