On Sun, Feb 14, 2010 at 05:33:08PM +0000, Dave Korn wrote: >On 14/02/2010 10:18, Corinna Vinschen wrote: >>I don't know if that works, but it would be really cool if a single DLL >>import lib like libcygwin.a could export symbols from different DLLs. >>That way we could create a cygxdr1.dll which contains the XDR >>functions, but which could be linked against by just the default >>linking against libcygwin.a. > >Why would we do that?
Yeah, ditto. It's an interesting idea but I was more thinking that this would be something that was added to the command-line specifically, like, e.g., a -lxdr . However, on doing more research, I see that these functions are part of the standard linux libc.so so, for my suggestion, it wouldn't make sense to make it a separate library. It would be kind of cool if we could keep, say, the pthread library in a separate dll but, unfortunately, that boat has already sailed. cgf
