1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-10-06 09:10:54 +11:00
collapseos/tools/bin2c
Byron A. Grobe f65c189e9b
Replace bin2c.sh with a more portable implementation.
`xxd' is not available on all systems, and on others does not support
the `-i' flag. Since bin2c.sh relied on a tool that I can't seem to find
a compatible version of, I have included a simple, portable replacement in C.

Usage remains the same:
bin2c ARRAYNAME < inputfile > outputfile.

This change is also reflected in emul/Makefile.
2020-04-05 13:04:05 -05:00
..
bin2c.c Replace bin2c.sh with a more portable implementation. 2020-04-05 13:04:05 -05:00
Makefile Replace bin2c.sh with a more portable implementation. 2020-04-05 13:04:05 -05:00