OT: gcc/binutils question

2007-11-15 Thread Wojciech Puchar
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

Re: OT: gcc/binutils question

2007-11-15 Thread Giorgos Keramidas
On 2007-11-15 17:17, Wojciech Puchar [EMAIL PROTECTED] wrote: 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. Try to file2c(1) utility. Quoting from its manpage: % EXAMPLES % The command: % %date |