SDS 68K LINKER -- Basic and advanced options

68K Linker from Software Development Systems, Inc.

Help information can be obtained by typing the DOS command

linker -U

or using the SDS Help menu option.


Recommended options for the SDS linker compiler

The recommended options for the SDS compiler for use in the exercises in the LABORATORY COMPANION are as follows. Click on the option for more details.

linker -V 68020 -f absmap.spc -o example.out example.o ....

where example.out is the executable file and example.o .. are the object files generated using the 68K assembler and/or 68K C++ compiler.

Use of the memory specification file absmap.spc is discussed in the laboratory exercises. The same specification file can be used for all exercises, but certain file formats offer different advantages for the later tasks discussed in the "Companion".

WARNING


Linker from Software Development Systems, Inc.

This information was obtained by typing

cc68000 -U

usage: linker [options] [object_files] [libraries]


environment variables:
    LINKER      additional linker options and arguments
                  Environment variable options precede command line options
                  except when they follow an '@' in the environment variable.
                  NOTE:  If the -r option is used, "LINKER" is ignored.
    TMP         directory for temporary files

options:
    -c             do extensive checking to validate input files
    -d             print diagnostic info on standard error

    -f file        memory specification file name
    -i             suppress informative messages
    -k             keep output file despite errors if possible
    -l name        represents 'libname.a'
    -m             multiple memory model

    -o file        output file name
    -r             relocatable output (intermediate link)
    -s             strip symbols from output
    -t             obsolete type-checking option; no effect
    -u             make symbols case insensitive
    -v             print accepted library members on standard output
    -w             suppress warning messages
    -x             emit global cross reference on standard output
    -y             process libraries until back-references (if any)
                   are resolved
    -z num         use only 'num' characters in symbol name comparisons
    -C             just print copyright message and release number
    -E [+]file     emit errors to a file; use + to append
    -F file        take more options and arguments from a file
    -L dir         search for object files & libraries in directory
    -M mem_config  memory configuration options; these may be
                   a comma separated list of any or all of:
                     disk=[yes|no]    do you wish to swap to disk?
                     max_memory=n     use at most 'n' bytes of memory
                                      'n' may have suffix of 'K' or 'M'
                     scale_minimum=p  scale minimum memory by 'p'
                                      'p' must be a power of 2
    -O arg ... --  IEEE-695 format using arguments up to -- or end of args
    -R             report possible portability problems
    -U             just print usage message

    -V target      select target processor
    -X             emit global cross reference to .xrf file


Last modified: July 22, 1996 09:56 PM by M. Smith. Copyright -- M. R. Smith