.TH LDHEAD "" "" "Environmental Variable"
.PC "Append options to beginning of ld command line"
\fBexport LDHEAD=\fIoptions\fR
.PP
The \*(CO linker
.B ld
reads the environmental variables
.B LDHEAD
and
.B LDTAIL
before it begins its work.
You can set these variables to hold the default options that you want the
linker always to use.
.PP
.B ld
appends the options in
.B LDHEAD
to the beginning of its command line.
.SH "See Also"
.Xr "environmental variables," environva
.Xr "ld," ld
.Xr "LDTAIL" ldtail
.SH Notes
This environmental variable is included only to support existing code.
Its use is deprecated, and it may not be supported in future releases of \*(CO.
