COFF to ELF object file translation
[-s directory] files
converts one or more COFF object
files to ELF.
This translation occurs in place, meaning the original
file contents are modified.
If an input file is an archive, each
member will be translated as necessary,
and the archive will be rebuilt with its members in the original order.
does not change input files that are not COFF.
cof2elf takes the following options:
Normally, files are modified only when full translation occurs.
Unrecognized data, such as unknown relocation types, are treated
as errors and prevent translation.
If this option is specified, cof2elf
ignores these partial translation conditions and modifies
the file anyway.
prints a message for each file it examines, telling
whether the file was translated, ignored, and so on.
This option causes cof2elf
to suppress these messages (quiet).
If arg is y,
identification information about cof2elf
will be added to the output files.
This can be useful for software administration.
Giving n for arg
explicitly asks for no such information, which is
the default behavior.
modifies the input files.
This option causes cof2elf to save
a copy of the original files in the specified
which must exist.
does not save files that it does not modify.
Print a version message on standard error.
Some debugging information is discarded.
Although this does not affect the behavior of a running program,
it may affect the information available for symbolic debugging.
translates only COFF relocatable files.
It does not translate executable or static shared library files
for two main reasons.
First, the operating system supports executable files and
static shared libraries, making translation unnecessary.
Second, those files have specific address and alignment constraints
determined by the file format.
Matching the constraints with a different object file format
When possible, programmers should recompile their source
code to build new object files.
is provided for those times when source code is unavailable.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004