Re: How to do Windows builds?

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Mark Banner wrote:
> Rich Megginson wrote:
>> I'm using Windows Visual Studio 8 (cl.exe version 14.00.xxxx).  When 
>> linking with the standard c library msvcrt.lib (/MD), the 
>> implementation for this is now in msvcr80.dll.  So far I have not been 
>> able to figure out a way to have it just use msvcrt.dll instead.  
>> According to Google and my msdn research, we have a couple of options:
>> 1) Link with /MD and distribute msvcr80.dll with binary ldap c sdk 
>> distributions
>> 2) Statically link in msvcrt using /MT
> 
> Taking a leaf out of Firefox's book (and Thunderbird etc), they ship the 
> MSVC8 runtime libs with the installer:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=324690
> 
> and
> 
> http://mxr.mozilla.org/seamonkey/source/build/win32/Makefile.in
> 
> Standard8

Hmm - I've looked at this quite a bit.  I still haven't figured out 
where those win32 redist files are supposed to be.  I've installed 
Visual Studio 2005 Express Edition, the platform SDK, and the .NET v2 
SDK, and I still do not have all of those files mentioned in the 
Makefile.in above.

I have these two folders:
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
and
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700

They both contain the 3 msvc*.dll files, but no manifest file.  The 
microsoft website says msvcr80.dll and the other redistributable files 
are supposed to be in a sub directory C:\Program Files\Microsoft Visual 
Studio 8\VC\redist but I do not have that directory, nor have I been 
able to figure out which package provides it.

Alternately, MS provides a downloadable self-installing file for each 
platform - e.g. http://go.microsoft.com/fwlink/?linkid=65127 - we could 
provide those for download, or just provide a link to the MS download 
site (if the license forbids us from putting the files on our site).

This is so irritating - why can MS just provide the darn file with the 
OS????
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.