Commit | Line | Data |
---|---|---|
a1ab9625 KM |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
91cff1e1 | 4 | .\" %sccs.include.redist.man% |
a1ab9625 | 5 | .\" |
91cff1e1 | 6 | .\" @(#)genbuildname.3 5.2 (Berkeley) %G% |
a1ab9625 KM |
7 | .\" |
8 | .TH GENBUILDNAME 3 "" | |
9 | .UC 7 | |
10 | .SH NAME | |
11 | genbuildname - generate the pathname for a binary file | |
12 | .SH SYNOPSIS | |
13 | .nf | |
14 | .ft B | |
15 | char *genbuildname(name) | |
16 | char *name; | |
17 | .ft R | |
18 | .fi | |
19 | .SH DESCRIPTION | |
20 | .I Genbuildname | |
21 | takes the name of a file and returns a pointer to a pathname | |
22 | that should be used to create the file. | |
23 | It is intended for use of programs such as the loader | |
24 | to decide where to place binary output files. | |
25 | The intent is to allow multiple architectures to be compiled | |
26 | within a single source tree. | |
27 | The destination directory for the binary is set in the predefined | |
28 | .IR make (1) | |
29 | variable | |
30 | .SM OBJDIR. | |
31 | .SH "SEE ALSO" | |
32 | cc(1), as(1), ld(1), install(1), make(1) |