Subj : Re: Object File Resources for Linux To : comp.os.linux From : Paul Nolan Date : Mon Aug 16 2004 11:37 pm David Ashley wrote: > All - > > How do I include an external resource into a Linux executable similar to > the way resources can be included into a Windows or OS/2 executable? The > linker documentation I have read suggests that it might be possible to > do this sort of thing but I cannot find any examples. > > I would appreciate it if someone could provide me with a pointer. > > Thanks, > W. David Ashley > dashley@us.ibm.com > 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 -- Paul Nolan Veni veni venias - ne me mori facias! .