Re: [fossil-users] Building fossil on Windows with MinGW - dependency on libz

2011-03-18 Thread Mark Janssen
On Fri, Mar 18, 2011 at 11:09 AM, Arjen Markus arjen.mar...@deltares.nlwrote: Hello, I have built fossil on Windows (XP) using MinGW and the gcc compiler. That works fine, except that the resulting executable depends on the libz-1.dll that is located in the MinGW bin directory. This means

Re: [fossil-users] Building fossil on Windows with MinGW - dependency on libz

2011-03-18 Thread Richard Hipp
On Fri, Mar 18, 2011 at 6:09 AM, Arjen Markus arjen.mar...@deltares.nlwrote: Hello, I have built fossil on Windows (XP) using MinGW and the gcc compiler. That works fine, except that the resulting executable depends on the libz-1.dll that is located in the MinGW bin directory. This means

Re: [fossil-users] Building fossil on Windows with MinGW - dependency on libz

2011-03-18 Thread Arjen Markus
Hi Richard, On 2011-03-18 12:49, Richard Hipp wrote: I link the precompiled binaries on the website against libz.a so that there is no dependency. I don't have a libz.dll anywhere on my system. Hm, I installed libz and zlib (not quite sure what the relationship is and I always mix them

Re: [fossil-users] Building fossil on Windows with MinGW - dependency on libz

2011-03-18 Thread Antoine Chavasse
On Fri, Mar 18, 2011 at 12:53 PM, Arjen Markus arjen.mar...@deltares.nl wrote: As Mark suggests, forcing a link against static libraries seems the way to go. That's how I build fossil in windows. I had the same problem and just modified the mingw makefile to add -static in the LIB variable. I