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:
-
Dec 7, 2009, 4:45:32 AM (14 years ago)
- Author:
-
John Bailey
- Comment:
-
Note that cross-compiling doesn't play nice with amd64 distros
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v64
|
v65
|
|
147 | 147 | |
148 | 148 | == Cross Compiling == |
149 | | It is quite easy to cross compile Pidgin for Windows on a Linux machine. |
| 149 | It is quite easy to cross compile Pidgin for Windows on a Linux machine. Note that cross-compiling does '''''not''''' work properly on amd64 (also called x86_64 or x64) systems--the most common failure is that the linker will die with a segmentation fault at various points. |
150 | 150 | |
151 | 151 | To begin, you'll need to install MinGW. On Debian/Ubuntu, this involves installing packages `mingw32`, `mingw32-binutils`, and `mingw32-runtime`. On other distributions, the packages may be named differently. |
… |
… |
|
170 | 170 | If your distribution doesn't include a recent enough win32api, you can download it from the [http://www.mingw.org/ MinGW site], extract it into your `win32-dev` directory, and override the `INCLUDE_PATHS` and `LIB_PATHS` variables in your `local.mak` as I have done. |
171 | 171 | |
172 | | If you want to build the installers, you'll need to build the GTK+ installer as mentioned above. However, the `build.sh` script referenced above needs to be changed. The line starting with `makensis.exe` needs to be changed to read: |
| 172 | If you want to build the installers, you'll need to install NSIS. On Debian and Ubuntu, the package name is `nsis`; this will likely be different elsewhere. In order to build the GTK+ installer as mentioned above, the `build.sh` script referenced above needs to be changed. The line starting with `makensis.exe` needs to be changed to read: |
173 | 173 | {{{ |
174 | 174 | makensis -V3 -DGTK_VERSION=$gtk_version -DGTK_REVISION=$gtk_revision gtk-installer.nsi |
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!