xref: /inferno-os/man/10/5coff (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
5COFF 10.1
NAME
5coff - converter to coff format
SYNOPSIS
5coff [ -T t ] [ -D d ] [ -R r ] [ -E e ] [ -d ] ifile ofile
DESCRIPTION
5coff converts an executable file ifile in a.out (10.6) format as produced by 5l (see 2l (10.1)) to one in COFF format, which it writes to ofile . The options to 5coff are as follows:

-T t The text segment starts at address t.

-D d The data segment starts at address d.

-R r The text segment is rounded up to a multiple of r if non-zero.

-E e The entry point is at address e.

-d Print debugging information.

EXAMPLE
An executable built with the command
.EX 5l -T0x04010000 -R4 -o abc ...

can be converted to coff format by

.EX 5coff -T0x04010000 -R4 abc abc.coff
SOURCE
/utils/5coff
SEE ALSO
2l (10.1), 5cv (10.1), a.out (10.6)