Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-15 Thread Kern Sibbald
On Saturday 15 November 2008 10:38:58 rgh wrote: > Eric Bollengier wrote: > > Le Friday 14 November 2008 17:20:59 Kern Sibbald, vous avez écrit : > >> If we can automate the make_def script so that it really works (I just > >> cut and pass the appropriate output into the real .def file) then that >

Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-15 Thread rgh
Eric Bollengier wrote: > Le Friday 14 November 2008 17:20:59 Kern Sibbald, vous avez écrit : >> If we can automate the make_def script so that it really works (I just cut >> and pass the appropriate output into the real .def file) then that would >> even be better. > > I think that the dlltool fr

Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-14 Thread Kern Sibbald
On Friday 14 November 2008 20:42:08 Eric Bollengier wrote: > Le Friday 14 November 2008 17:20:59 Kern Sibbald, vous avez écrit : > > On Thursday 13 November 2008 21:21:50 Eric Bollengier wrote: > > > Hello Ricardo, > > > > > > Don't you think that a simple script can do the work and generate the >

Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-14 Thread Eric Bollengier
Le Friday 14 November 2008 17:20:59 Kern Sibbald, vous avez écrit : > On Thursday 13 November 2008 21:21:50 Eric Bollengier wrote: > > Hello Ricardo, > > > > Don't you think that a simple script can do the work and generate the def > > file before linking dlls and binaries ? > > > > The existing ma

Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-14 Thread Kern Sibbald
On Thursday 13 November 2008 21:21:50 Eric Bollengier wrote: > Hello Ricardo, > > Don't you think that a simple script can do the work and generate the def > file before linking dlls and binaries ? > > The existing make_def doesn't work well, but with some information about > how get the symbol nam

Re: [Bacula-devel] patch: use DLL_IMP_EXP for all exported symbols on win32

2008-11-13 Thread Eric Bollengier
Hello Ricardo, Don't you think that a simple script can do the work and generate the def file before linking dlls and binaries ? The existing make_def doesn't work well, but with some information about how get the symbol name from the object file, i can do it without changing all the code and