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 differently on the resulting command line, > however. > > IIUC then the rest may be had by makefile rules?
Thanks Ralf, I didn't know to try that; I'll give it a go and report back if it does the job. Can I build an import library in the .libs/ subdir and leave an empty one by the same name in the parent dir and the -L paths will make sure that the one goes into the DLL link and the other ends up in the static archive? cheers, DaveK _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool