SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from openSUSE Leap 42 fpc-2.6.4-1.1.i586.rpm

bin2obj

Section: Binary to include file converter (1)
Updated: 12 November 2004
Index 

NAME

bin2obj - The Free Pascal binary to pascal include file converter.

 

SYNOPSIS

bin2obj [-aeouUz] -c constname infile

 

DESCRIPTION

bin2objreads a binary file and converts it to a pascal typed constant declaration. The constant is an array of bytes (zero based), in which each byte has thevalue of the byte at the offsetindexin the file. (index is the index in the array).

 

USAGE

bin2objaccepts a filename of a binary file, and needs the name of a constant(use the -coption). The output goes to standard output by default. If no unitname isgiven, the output will be in the form of code which can be written to aninclude file.

 

OPTIONS

bin2obj has a small number of options to control its behaviour:

-a
Write ASCII data instead of bytes. The constant array will be an array of char instead of an array of bytes. The bytes will be written as ASCIIconstants.
-e key
If this option is given, the data will be encrypted with keywhich is a string of 8 characters long.
-h
emit a small helptext.
-o filename
By default, the output goes to standard output (the screen). If this option is given, bin2objwill write the output to a file with namefilenameinstead. This option is mandatory if the-Uoption is specified.
-u [unitname]
This option tellsbin2objto generate a unit. By default the output is just the declaration of theconstant. If the unitname is not specified, bin2objtries to determine it from the input filename.
-U [unitname]
The same as the-uoption, only bin2obj will also call the compiler and compile the unit.
-z
Compress the data before creating the unit. zlib compression is used.

 

SEE ALSO

ppc386(1)data2inc(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
USAGE
OPTIONS
SEE ALSO

This document was created byman2html,using the manual pages.