2 .\" Copyright (c) 1998 David E. O'Brien
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 .\" $FreeBSD: src/usr.bin/objformat/objformat.1,v 1.3.2.4 2002/06/21 15:28:32 charnier Exp $
33 .Nd reports default binary format and program deflector
40 the default object file format is reported.
41 The only supported object file format is
44 If invoked by any other name, the path of the
46 that will be executed is determined as follows:
55 .Pa /usr/libexec/<binutils>/elf/ Ns Nm prog
58 defaults to the current binutils version used by
60 and can be overridden using the
66 is a compiler (such as
69 .Pa /usr/libexec/<ccver>/ Ns Nm prog
72 defaults to the current compiler used by
74 and can be overridden using the
78 .Bl -tag -width OBJFORMAT_PATH
82 component to be used for binutils paths.
86 component to be used for compiler paths.
88 If this variable is defined as
90 then the ld command will be an alias for the classic
92 linker. If it is undefined or any other value, the ld command will
99 is set, its value is prepended to the path name determined by the
102 If it is a sequence of colon separated paths, each of
103 .Ev OBJFORMAT_PATH Ap s
104 elements is prepended to the path name until execution succeeds.
109 utility returns with exit code 1
110 if called with an improper number of arguments, or if
112 could not be executed.
125 utility was written by
126 .An Peter Wemm Aq Mt peter@netplex.com.au .
127 This manual page was written by
128 .An David O'Brien Aq Mt obrien@NUXI.com .