apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Building APR using free Microsoft Tools HOWTO
Date Wed, 22 Dec 2004 18:20:42 GMT
Mladen, just an FYI... this would leave a couple key issues;

 1. This is not an MSVCRT based build, there is a new set of
    clib dll files corresponding to the new compilers, which
    are not nearly as widely distributed as MSVCRT.dll 

 2. Some C headers and libs are not in the free compiler nor
    in the platform SDK.  For example, delayimp which allows
    late binding (we used in for mod_aspdotnet) isn't present.

 3. The free compiler does no optimization whatsoever.

IIRC bin/Win64 is only available in specific PSDK distributions.

So this isn't quite useful for ASF production builds.  However
it may prove incredibly useful for apxs builds.


At 05:47 AM 12/22/2004, Mladen Turk wrote:
>Perhaps someone will find that HOWTO useful :).
>There has been some discussions regarding building
>ASF software on WIN32 using free MS Tools.
>Well, I must admit that I was skeptic about it,
>but all in one they can be build quite easily.
>Two things you will need:
>Platform SDK downloadable from:
>and Microsoft C++ Toolkit 2003:
>I'll assume you installed those to:
>Since VCToolkit comes without the 'nmake' as well the
>Platform SDK does you can use one from:
>Just copy the nmake.exe from there to the:
>Addition Prerequisites:
>Since apr, apr-util and apr-iconv comes with .dsp
>files usable only by GUI development environment, you
>will need makefiles usable from nmake.exe.
>You can generate those makefiles if you have Visual Studio 6.0.
>Not sure about the licensing issues, but IMO they can eventually
>be exported and uploaded to apr CVS.
>Unpack all sources to:
>Now open the c:\apache\apr-util\aprutil.dsw with DevEnv and
>then Cclick on 'Project->Export Makefile'.
>On 'Export Makefile(s)' pop up select also the
>checkbox 'Write dependencies when writing makefiles'.
>C:> cd c:\apache\apr-util
>C:\apache\apr-util>nmake -f libaprutil.mak "cfg=libaprutil - Win32 Release"
>That's it. You should  have libapr-1.dll, libapriconv-1.dll
>and libaprutil-1.dll builded.

View raw message