OT: gcc/binutils question

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Nov 15 08:18:08 PST 2007

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?

More information about the freebsd-questions mailing list