DragonFly On-Line Manual Pages
OBJFORMAT(1) DragonFly General Commands Manual OBJFORMAT(1)
objformat -- reports default binary format and program deflector
If run as objformat the default object file format is reported. The only
supported object file format is elf.
If invoked by any other name, the path of the prog that will be executed
is determined as follows:
If prog is a binutil (such as as(1) and ld(1)), it is expanded to
/usr/libexec/<binutils>/elf/prog and executed. ``<binutils>'' defaults
to the current binutils version used by DragonFly and can be overridden
using the BINUTILSVER environment variable.
If prog is a compiler (such as gcc(1)), it is expanded to
/usr/libexec/<ccver>/prog and executed. ``<ccver>'' defaults to the cur-
rent compiler used by DragonFly and can be overridden using the CCVER
BINUTILSVER The ``<binutils>'' component to be used for binutils
CCVER The ``<ccver>'' component to be used for compiler paths.
LDVER If this variable is defined as ``ld.gold'' then the ld
command will be an alias for the gold linker. If it is
undefined or any other value, the ld command will execute
the classic gnu linker.
OBJFORMAT_PATH If OBJFORMAT_PATH is set, its value is prepended to the
path name determined by the objformat rules. If it is a
sequence of colon separated paths, each of
OBJFORMAT_PATH's elements is prepended to the path name
until execution succeeds.
The objformat utility returns with exit code 1 if called with an improper
number of arguments, or if prog could not be executed.
The objformat command appeared in FreeBSD 3.0.
The objformat utility was written by Peter Wemm <email@example.com>.
This manual page was written by David O'Brien <obrien@NUXI.com>.
DragonFly 4.1 February 24, 2012 DragonFly 4.1