Can anyone think of a way to get circular dependencies between windows DLLs?

2010-03-17 Thread Dave Korn
Hi all, I have an interesting problem to try and solve: I need to create circularly-dependent shared libs using libtool on Windows(*). This is trivial on the ELF targets that libtool supports because you just leave undefined references in both the libraries, link them against each other,

Re: Can anyone think of a way to get circular dependencies between windows DLLs?

2010-03-17 Thread Ralf Wildenhues
Hello Dave, * Dave Korn wrote on Wed, Mar 17, 2010 at 07:54:02PM CET: > More specifically, can I get libtool to do this for me, without having to > modify it (or do anything else unsuitable for GCC stage 3)? > > I don't think I can get libtool to build the dummy import library for me as > a l

Re: Can anyone think of a way to get circular dependencies between windows DLLs?

2010-03-17 Thread Dave Korn
On 17/03/2010 21:24, Ralf Wildenhues wrote: > You can use '-Wc,', '-Wl,', '-Xcompiler ', or '-Xlinker ' to get command > line arguments to by-pass libtool mangling and interpretation, and end > up being passed to the compiler driver or the linker, respectively. > The arguments may be ordered diffe