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:
-
Mar 1, 2010, 3:58:40 AM (14 years ago)
- Author:
-
bviktor
- Comment:
-
use failsafe command prompt instead of msys.bat since it may hang (like for me)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v12
|
v13
|
|
15 | 15 | 2. Get !MozillaBuild |
16 | 16 | |
17 | | Download [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.4.exe MozillaBuild 1.4] and install it. By default it installs to `c:\mozilla-build`. |
| 17 | Download [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.4.exe MozillaBuild 1.4] and install it. Install it to `c:\devel\mozilla-build`. |
18 | 18 | |
19 | 19 | 3. Get MinGW |
… |
… |
|
120 | 120 | == Build NSS == |
121 | 121 | |
122 | | The easiest way to do this with consistent results to to make a build script (the following is what the binary included with Pidgin is built with): |
| 122 | The easiest way to do this with consistent results is to make a build script (the following is what the binary included with Pidgin is built with): |
123 | 123 | {{{ |
124 | 124 | #!sh |
… |
… |
|
139 | 139 | PATH=/c/devel/pidgin-devel/win32-dev/mingw/bin:$PATH |
140 | 140 | PATH=/c/devel/mozilla-build/moztools/bin:$PATH |
| 141 | PATH=/c/devel/mozilla-build/msys/bin:$PATH |
141 | 142 | export PATH |
142 | 143 | |
… |
… |
|
147 | 148 | }}} |
148 | 149 | |
149 | | Launch an MSYS shell using `c:\mozilla-build\msys\msys.bat` and run the above script. |
| 150 | Save this script as `build.sh`. Launch a command prompt and run: |
| 151 | |
| 152 | {{{ |
| 153 | c:\devel\mozilla-build\msys\bin\sh build.sh |
| 154 | }}} |
150 | 155 | |
151 | 156 | The build will likely not complete successfully (it will bail out building `.../cmd/bltest`). If it gets that far, it has built the various libraries successfully. |
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!