man.bsd.lv manual page server

Manual Page Search Parameters

OBJFORMAT(1) General Commands Manual OBJFORMAT(1)

objformatreports default binary format and program deflector

objformat

prog

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 current compiler used by DragonFly and can be overridden using the CCVER environment variable.

The “<binutils>” component to be used for binutils paths.
The “<ccver>” component to be used for compiler paths.
If this variable is defined as “ld.bfd” then the ld command will be an alias for the classic “GNU ld” linker. If it is undefined or any other value, the ld command will execute the newer “GNU gold” linker.
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.

file(1), getobjformat(3)

The objformat command appeared in FreeBSD 3.0.

The objformat utility was written by Peter Wemm <peter@netplex.com.au>. This manual page was written by David O'Brien <obrien@NUXI.com>.

November 14, 2015 DragonFly-5.6.1