Intel XENIX 286 Programmers Guide (86) - Tenox.tc
Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc
XENIX Programming Programming Commands ld (continued) -i Creates separate instruction and data spaces for small model programs. When the output file is executed, the program text and data areas are allocated separate physical segments. The text portion will be read-only and will be shared by all users executing the file. -m name Creates a link map named name that includes public symbols. -Ms Creates small model programs and checks for errors such as fixup overflow. This option is reserved for object files compiled or assembled using the small model configuration. This is the default model if no -M option is given. -Mm Creates middle model programs and checks for errors. This option is reserved for object files compiled or assembled using the middle model configuration. This option implies -i. -Ml Creates a large model program and checks for errors. The option is reserved for object files compiled using the large model configuration. This option implies -i. -nl num Truncates symbols to the length specified by num. -o name Sets the executable program file name to name instead of a.out. -s Strips the symbol table. -S num Sets the maximum number of data segments to num. If no argument is given, the default is 256. -u symbol Designates the specified symbol as undefined. -v num Specifies the XENIX version number. Acceptable values for num are 2 or 3; 3 is the default. ld should be invoked by using the cc command instead of invoking it directly. cc invokes ld as the last step of compilation, providing all the necessary C language support routines. Invoking ld directly is not recommended since failure to give the com mand line arguments in the right order can result in errors. 8-75
Programming Commands XENIX Programming ld (continued) Files bin/ld See Also as, ar, cc, ranlib Notes The user must make sure that the most recent library versions have been processed with ranlib before linking. If this is not done, ld cannot create executable programs using these libraries. The output of cc is in 86 REL format. The output of ld is in STL 286 format. B-76
- Page 290 and 291: XENIX Programming Programm ing Comm
- Page 292 and 293: XENIX Programming Programming Comma
- Page 294 and 295: XENIX Programming Programming Comma
- Page 296 and 297: XENIX Programming Programm ing Comm
- Page 298 and 299: XENIX Programming Programming Comma
- Page 300 and 301: XENIX Programming Programming Comma
- Page 302 and 303: XENIX Programming Programming Comma
- Page 304 and 305: XENIX Programming Programming Comma
- Page 306 and 307: XENIX Programming Programming Comma
- Page 308 and 309: XENIX Programming Programming Comma
- Page 310 and 311: XENIX Programming Programming Comma
- Page 312 and 313: XENIX Programming Programming Comma
- Page 314 and 315: XENIX Programm ing Programming Comm
- Page 316 and 317: XENIX Programming Programming Comma
- Page 318 and 319: XENIX Programming Programming Comma
- Page 320 and 321: XENIX Programming Programming Comma
- Page 322 and 323: XENIX Programming Programming Comma
- Page 324 and 325: XENIX Programming Programming Comma
- Page 326 and 327: XENIX Programming Programming Comma
- Page 328 and 329: XENIX Programming Programming Comma
- Page 330 and 331: XENIX Programming Programming Comma
- Page 332 and 333: XENIX Programming Programming Comma
- Page 334 and 335: XENIX Programming Programming Comma
- Page 336 and 337: XENIX Programming Programming Comma
- Page 338 and 339: XENIX Programming Programming Comma
- Page 342 and 343: XENIX Programming Programming Comma
- Page 344 and 345: XENIX Programming lex (continued) E
- Page 346 and 347: XENIX Programming Programming Comma
- Page 348 and 349: XENIX Programming Programming Comma
- Page 350 and 351: XENIX Programming Programming Comma
- Page 352 and 353: XENIX Programming Programming Comma
- Page 354 and 355: XENIX Programming Programming Comma
- Page 356 and 357: XENIX Programming Programming Comma
- Page 358 and 359: XENIX Programming Programming Comma
- Page 360 and 361: XENIX Programm ing Programming Comm
- Page 362 and 363: XENIX Programming Programming Comma
- Page 364 and 365: XENIX Programming prs (continued) :
- Page 366 and 367: XENIX Programming Programming Comma
- Page 368 and 369: XENIX Programming Programm ing Comm
- Page 370 and 371: XENIX Programming Programming Comma
- Page 372 and 373: XENIX Programming Programm ing Comm
- Page 374 and 375: XENIX Programming Programming Comma
- Page 376 and 377: XENIX Programming Programming Comma
- Page 378 and 379: XENIX Programming Programming Comma
- Page 380 and 381: XENIX Programming Programming Comma
- Page 382 and 383: XENIX Programming Programming Comma
- Page 384 and 385: XENIX Programming Programming Comma
- Page 386 and 387: XENIX Programming Programming Comma
- Page 388 and 389: XENIX Programming Programming Comma
Programming Commands <strong>XENIX</strong> Programming<br />
ld (continued)<br />
Files<br />
bin/ld<br />
See Also<br />
as, ar, cc, ranlib<br />
Notes<br />
The user must make sure that the most recent library versions have been processed with<br />
ranlib before linking. If this is not done, ld cannot create executable programs using<br />
these libraries.<br />
The output of cc is in <strong>86</strong> REL format. The output of ld is in STL <strong>2<strong>86</strong></strong> format.<br />
B-76