date and time created 93/06/02 19:11:53 by mckusick
[unix-history] / usr / src / lib / libc / gen / genbuildname.3
CommitLineData
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
11genbuildname - generate the pathname for a binary file
12.SH SYNOPSIS
13.nf
14.ft B
15char *genbuildname(name)
16char *name;
17.ft R
18.fi
19.SH DESCRIPTION
20.I Genbuildname
21takes the name of a file and returns a pointer to a pathname
22that should be used to create the file.
23It is intended for use of programs such as the loader
24to decide where to place binary output files.
25The intent is to allow multiple architectures to be compiled
26within a single source tree.
27The destination directory for the binary is set in the predefined
28.IR make (1)
29variable
30.SM OBJDIR.
31.SH "SEE ALSO"
32cc(1), as(1), ld(1), install(1), make(1)