Subj : Re: Object File Resources for Linux To : comp.os.linux From : David Ashley Date : Mon Aug 16 2004 11:24 pm Paul Nolan wrote: > Do you mean linking a library into a program? all that needs is > ld .... -l$LIBRARY_NAME -L$LIBRARY_PATH > Then the library is included and dynamically linked (unless you use the > ld option -static > > No, I want to include a file containing some xml into the executable and be able to reference the file contents either through an API or through a global variable name. My problem is that, for this application, I cannot ship multiple files, I can only ship an executable that is self-contained. But for development and maintaince it would be much better to separate the xlm from the code. Any ideas? Thanks, W. David Ashley dashley@us.ibm.com .