Date: Thu, 15 Nov 2007 17:17:26 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: freebsd-questions@freebsd.org Subject: OT: gcc/binutils question Message-ID: <20071115171510.D59698@wojtek.tensor.gdynia.pl>
next in thread | raw e-mail | index | archive | help
how to convert arbitrary data (in file) to object file, so i will be able
to do
extern char something[]
and use it - in C.
i did wrote converter that converts data from file to
const char something[]={firstbyte,secondbyte,.....};
and then cc to compile it.
and it's VERY SLOW when data are few megs - while it's no work in fact.
can it be done more directly?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115171510.D59698>
