Subj : Re: Object File Resources for Linux To : comp.os.linux From : gopi Date : Wed Aug 18 2004 07:20 am David Ashley wrote in message news:... > Ok, I am ging to answer my own question. I found a Perl script text2c > that can take a file's contents and create a C file that encalsulates > the file as a C string definition. That creates a file that can then be > included in the compile process. You might want to use array of chars (instead of a C string), unless you intend to use ONLY text files. We use a simple C program to convert such files into an array of characters so that they can be bound with the corresponding executable. [Using strings has the advantage that such strings may go to read-only section.] Regards, gopi --- Gopi Kumar Bulusu Sankhya Technologies Private Limited http://www.sankhya.com Tel: +91 891 554 2666 Fax: +91 891 554 2665 .