Hello, I have not tried building darcs on MinGW+MSYS but I have done a couple of projects that statically link libcurl. I have built libcurl as both static and dynamic link versions. AFAIK you must also make sure that the dependencies of libcurl are also available as static link libraries (openssl or gnutls).
HTH. On 6/1/07, Esa Ilari Vuokko <[EMAIL PROTECTED]> wrote:
Hi, On 5/31/07, Kurt Granroth <[EMAIL PROTECTED]> wrote: > I was successfully able to build the latest darcs on Windows using mingw/msys > and it works well... except that I find that I have to haul along the > libcurl-4.dll everywhere to get it to work. That's not a *huge* burden, but > I would still like to be able to have a 'darcs.exe' that is completely > standalone. > > Has anybody done this? If so, how? I tried using --use-static-libs with > configure, getting rid of the dlls and leaving only the libcurl.a in the ghc > gcc-lib and /lib directories, and nothing seems to work. I've managed to do it before. Unfortunately, I can't say what was diffrent. I think I compiled libcurl I used with darcs with dll-build disabled (ie static lib only) to force it. HTH, Esa _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
-- _nimrod_a_abing_ http://abing.gotdns.com/ http://www.preownedcar.com/ _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
