Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Oct 15, 2011, 5:20:56 AM (12 years ago)
- Author:
-
itsnotabigtruck
- Comment:
-
Initial work on updating page for DDK build and current NSS version
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v33
|
v34
|
|
9 | 9 | == Prerequisites == |
10 | 10 | |
11 | | 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`. |
12 | | 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`. |
13 | | 1. '''Get MinGW''': This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions]. |
| 11 | 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. |
| 12 | 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. |
| 13 | 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`. |
| 14 | 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. |
| 15 | 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`. |
14 | 16 | |
15 | 17 | == Choose build configuration == |
16 | 18 | |
17 | | The 3 most important options are: |
18 | | * target OS |
| 19 | The two most important options are: |
| 20 | |
19 | 21 | * optimization |
20 | 22 | * debug RTL |
… |
… |
|
23 | 25 | {{{ |
24 | 26 | #!rst |
25 | | |
26 | | ================= ================= ================= ================= ================= |
27 | | . BUILD_OPT=0 BUILD_OPT=1 |
28 | | ----------------- ------------------------------------ ------------------------------------ |
29 | | . USE_DEBUG_RTL=0 USE_DEBUG_RTL=1 USE_DEBUG_RTL=0 USE_DEBUG_RTL=1 |
30 | | ================= ================= ================= ================= ================= |
31 | | OS_TARGET=WIN95 WIN954.0_DBG.OBJ WIN954.0_DBG.OBJD WIN954.0_OPT.OBJ N/A |
32 | | OS_TARGET=WINNT WINNT6.1_DBG.OBJ WINNT6.1_DBG.OBJD WINNT6.1_OPT.OBJ N/A |
33 | | ================= ================= ================= ================= ================= |
34 | | |
| 27 | +-----------+----------------+-----------------+ |
| 28 | | |USE_DEBUG_RTL= |USE_DEBUG_RTL=1 | |
| 29 | +===========+================+=================+ |
| 30 | |BUILD_OPT= |WINNT6.1_DBG.OBJ|WINNT6.1_DBG.OBJD| |
| 31 | +-----------+----------------+-----------------+ |
| 32 | |BUILD_OPT=1|WINNT6.1_OPT.OBJ|N/A | |
| 33 | +-----------+----------------+-----------------+ |
35 | 34 | }}} |
36 | 35 | |
37 | | 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. |
38 | | |
39 | | 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. |
40 | | |
41 | | 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: |
42 | | {{{ |
43 | | set BUILD_OPT=1 |
44 | | set OS_TARGET=WIN95 |
45 | | }}} |
| 36 | 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). |
46 | 37 | |
47 | 38 | '''WARNING''': it seems the builder considers any variable as 1 if it's set. So if you enter |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!