[Pidgin] BuildingWinNSS modified

Pidgin trac at pidgin.im
Sat Oct 15 01:20:58 EDT 2011


Changed page "BuildingWinNSS" by itsnotabigtruck from 173.9.240.149*
Page URL: <http://developer.pidgin.im/wiki/BuildingWinNSS>
Diff URL: <http://developer.pidgin.im/wiki/BuildingWinNSS?action=diff&version=34>
Revision 34
Comment: Initial work on updating page for DDK build and current NSS version

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: BuildingWinNSS
=========================================================================
--- BuildingWinNSS (version: 33)
+++ BuildingWinNSS (version: 34)
@@ -8,41 +8,32 @@
 
 == Prerequisites ==
 
- 1. '''Get NSS:'''  Download [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_8_RTM/src/nss-3.12.8-with-nspr-4.8.6.tar.gz NSS 3.12.8 with NSPR 4.8.6]. Extract it to `c:\devel\pidgin-devel\win32-dev`.
- 1. '''Get MozillaBuild:'''  Download [ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.5.exe MozillaBuild 1.5] and install it to `c:\devel\mozilla-build`.
- 1. '''Get MinGW''':  This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions].
+ 1. '''Get the Windows SDK:'''[[BR]]Download the [https://www.microsoft.com/download/en/details.aspx?id=8279 Windows SDK for Windows 7 SP1] and install it to the default location.
+ 1. '''Get the Windows Driver Kit (WDK):'''[[BR]]Download the [https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800 WDK for Windows 7 SP1] and install it to the default location.
+ 1. '''Get the Netscape Portable Runtime (NSPR):'''[[BR]]Download the latest version of [ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/ NSPR] (currently 4.8.9) and extract it to `c:\devel\pidgin-devel\win32-dev`.
+ 1. '''Get Network Security Services (NSS):'''[[BR]]Download the latest version of [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ NSS] (currently 3.12.11 w/ CKBI 1.87) and extract it to the same location.
+ 1. '''Get MozillaBuild:'''[[BR]]Download the latest version of [ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe MozillaBuild] and install it to `c:\devel\mozilla-build`.
 
 == Choose build configuration ==
 
-The 3 most important options are:
- * target OS
+The two most important options are:
+
  * optimization
  * debug RTL
 
 You can toggle them with environmental variables. Here's the matrix:
    {{{
 #!rst
-
-=================  =================  =================  =================  =================
-        .                      BUILD_OPT=0                           BUILD_OPT=1
------------------  ------------------------------------  ------------------------------------
-        .          USE_DEBUG_RTL=0    USE_DEBUG_RTL=1    USE_DEBUG_RTL=0    USE_DEBUG_RTL=1
-=================  =================  =================  =================  =================
-OS_TARGET=WIN95    WIN954.0_DBG.OBJ   WIN954.0_DBG.OBJD  WIN954.0_OPT.OBJ   N/A
-OS_TARGET=WINNT    WINNT6.1_DBG.OBJ   WINNT6.1_DBG.OBJD  WINNT6.1_OPT.OBJ   N/A
-=================  =================  =================  =================  =================
-
++-----------+----------------+-----------------+
+|           |USE_DEBUG_RTL=  |USE_DEBUG_RTL=1  |
++===========+================+=================+
+|BUILD_OPT= |WINNT6.1_DBG.OBJ|WINNT6.1_DBG.OBJD|
++-----------+----------------+-----------------+
+|BUILD_OPT=1|WINNT6.1_OPT.OBJ|N/A              |
++-----------+----------------+-----------------+
    }}}
 
-The version after WINNT is the version of your current OS (you can check it with the `winver` command). WINNT6.1 assumes you're building on Windows 7.
-
-The default values are 0 for numerical variables and current OS for OS_TARGET. So on Windows 7 with no values set you'll end up building WINNT6.1_DBG.OBJ.
-
-Pick the desired configuration (in other words, cell), and set the environmental variables. In the Windows command prompt you can do this with `set`. Example:
-   {{{
-set BUILD_OPT=1
-set OS_TARGET=WIN95
-   }}}
+The version after WINNT is the version of your current OS (you can check it with the `winver` command). WINNT6.1 assumes you're building on Windows 7. The default setting is an unoptimized build with the release RTL (WINNT6.1_DBG.OBJ).
 
 '''WARNING''': it seems the builder considers any variable as 1 if it's set. So if you enter
    {{{

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
Pidgin <http://pidgin.im>
Pidgin

This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on BuildingWinNSS. If it was not you, please
report to .


More information about the Wikiedit mailing list