Skip to content

Commit

Permalink
Update and synchronize xc help file and man page
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Feb 2, 2024
1 parent 8a3f377 commit fb2e086
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 29 deletions.
14 changes: 5 additions & 9 deletions unix/boot/spp/xc.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Causes debug messages to be printed during execution.
.ls 10 -F, -f
Do not delete the Fortran translation of an SPP source file.
.le
.ls 10 -g
Generates debugging information.
.le
.ls 10 -h
Causes the executable to be linked as a host program, i.e., without the
IRAF main and without searching the IRAF libraries, unless explicitly
Expand Down Expand Up @@ -66,7 +63,7 @@ the link down excessively.
.ls 10 -Nh [filename]
This tells xpp that the foreign definitions in the
file specified should be used in preference to
standard include files.
standard include files.
.le
.ls 10 -o
This flag redirects the output of the compile if used in
Expand All @@ -91,16 +88,15 @@ package.
Disable optimization. Opposite of -O. Object code will be optimized
by default.
.le
.ls 10 -v
Verbose mode. Causes messages to be printed during execution telling
what the \fIxc\fR program is doing.
.le
.ls 10 -w
Suppress warnings.
Suppress warnings. Forwarded to the compiler and linker.
.le
.ls 10 -x
Compile and link for debugging.
.le
.ls 10 -z, -e, -t, -T, -s
Ignored. Provided for backward compatibility.
.le
.ls 10 -V
Print XC version identification.
.le
Expand Down
30 changes: 10 additions & 20 deletions unix/boot/spp/xc.man
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" Hey, EMACS: -*- nroff -*-
.\" Hey, EMACS: -*- nroff -*-
.TH XC "1" "June 2021" "IRAF 2.17" "IRAF commands"
.SH NAME
xc \- portable IRAF compile/link utility
Expand Down Expand Up @@ -44,9 +44,6 @@ Causes debug messages to be printed during execution.
.B -F\fR,\fB -f
Do not delete the Fortran translation of an SPP source file.
.TP
.B -g
Generates debugging information .
.TP
.B -h
Causes the executable to be linked as a host program, i.e., without
the IRAF main and without searching the IRAF libraries, unless
Expand Down Expand Up @@ -84,7 +81,7 @@ besides the standard ones to include. These must be either on the current
directory, or in an IRAF system library (lib$ or hlib$).
The library specification must be immediately after the option as in
"-lxtools". No other option may follow the 'l' option in the same
argument as in -lxtoolsO.
argument as in -lxtoolsO.
.TP
.B -N
Generates the output temp file in /tmp during the link, then moves it
Expand All @@ -107,7 +104,7 @@ Optimize object code produced; this is now the default, but this
switch is still provided for backwards compatibility.
.TP
.B -p \fIpkgname
Load the package environment for the named external package, e.g.,
Load the package environment for the named external package, e.g.,
"xc \-c \-p noao file.x". If the same package is always specified the
environment variable or logical name PKGENV may be defined at the host
level to accomplish the same thing. The package name \fImust\fR be
Expand All @@ -118,23 +115,16 @@ package.
Disable optimization. Opposite of \-O. Object code will be optimized
by default.
.TP
.B -s
Strips all symbols and debugging information.
.TP
.B -S
Same as \-s for VMS.
.TP
.B -v
Verbose mode. Causes messages to be printed during execution telling
what the \fBxc\fR program is doing.
.TP
.B -w
Suppress warnings.
Suppress warnings. Forwarded to the compiler and linker.
.TP
.B -x
Compile and link for debugging.
.TP
.B -z
Create a non-shareable image (default).
.B -z\fR,\fB -e\fR,\fB -t\fR,\fB -T\fR,\fB -s
Ignored. Provided for backward compatibility.
.TP
.B V
.B -V
Print XC version identification.

.SH SEE ALSO
Expand Down

0 comments on commit fb2e086

Please sign in to comment.