LD86(1)

NAME
ld86 - loader for as86

SYNOPSIS
ld86 [-03Mimrstz[-]] [-llib_extension] [-o -outfile] [-C -crtfile] [-Llibdir] [-Olibfile] [-T -textaddr] infile [...]

DESCRIPTION

  Overview
Ld86 is the loader that understands how to link the output of as86(1) together.

  Options
-0  (the digit 0) produce header with 16-bit magic and use library subdir i86 for -lx
-3  produce header with 32-bit magic and use library subdir i386 for -lx
-Cx add file libdir-from-search/crtx.o to list of files linked
-Lx add dir name x to the head of the list of library dirs searched
-M  print symbols linked on stdout
-Ox add library libdir-from-search/x to list of files linked
-T  text base address follows (in format suitable for strtoul)
-i  separate I&D output
-lx add library libdir-from-search/libx.a to list of files linked
-m  print modules linked on stdout
-o  output file name follows
-r  produce output suitable for further relocation
-s  strip symbols
-t  trace modules being looked at on stdout
-z  produce “unmapped zero page” executables
The 6809 version does not support -i or -r. All the options not taking an argument may be turned off by following the option letter by a ‘-’, as for bcc-cc1.

  Defaults
Off or none except for these:
-0 | -3
    native, i. e. 80386
-L/usr/local/lib/bcc/m/
    ( m is machine dependent)
outfile
    a.out

SEE ALSO
as86(1), bcc(1).

AUTHORS
This programm has been written by Bruce Evans.