conv(1) conv(1)
NAME
conv - object file converter
SYNOPSIS
conv [-] [-a] [-o] [-p] [-s] -t target files
DESCRIPTION
The conv command converts object files from their current
format to the format of the target machine. The converted
file is written to file.v.
Flag options are:
- read files from stdin.
-a If the input file is an archive, produce the
output file in the old archive format.
-o If the input file is an archive, produce the
output file in the UNIX® 6.0 (Version 6)
portable archive format.
-p UNIX® 5.0 random access archive format. This
is the default.
-s Function exactly as 3bswab, i.e., preswab all
characters in the object file. This is useful
only for 3B20 object files which are to be
swab-dumped from a DEC machine to a 3B20.
-t target Convert the object file to the byte ordering
of the machine (target) to which the object
file is being shipped. This may be another
host or a target machine. Legal values for
target are: pdp, vax, ibm, i86, x86, b16,
n3b, m32, and m68k.
conv can be used to convert all object files in common
object file format. It can be used on either the source
(sending) or target (receiving) machine.
conv is meant to ease the problems created by a multi-host
cross-compilation development environment. conv is best used
within a procedure for shipping object files from one
machine to another.
conv will recognize and produce archive files in three
formats: the UNIX pre-5.0 format, the 5.0 random access
format, and the 6.0 portable ASCII.
EXAMPLE
*ship object files from pdp11 to ibm
Page 1 (last mod. 1/16/87)
conv(1) conv(1)
$echo *.out | conv -t ibm
$uucp *.v my370!~/rje/
FILES
/bin/conv
DIAGNOSTICS
All diagnostics for the conv command are intended to be
self-explanatory. Fatal diagnostics on the command lines
cause termination. Fatal diagnostics on an input file cause
the program to continue to the next input file.
WARNINGS
conv does not convert archives from one format to another if
both the source and target machines have the same byte
ordering.
Page 2 (last mod. 1/16/87)