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.

Changes between Version 86 and Version 87 of BuildingWinPidgin


Ignore:
Timestamp:
Feb 28, 2010, 10:12:30 PM (14 years ago)
Author:
datallah
Comment:

Use MinGW GCC version 4 (needed for compiling to work in Windows 7)

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWinPidgin

    v86 v87  
    2323     You may prefer to use the native Windows monotone binary available [http://www.monotone.ca here].
    2424
    25   2. Install the MinGW "current" packages from the [http://www.mingw.org MinGW site].[[BR]]
    26      The easiest way to install these is to use the [http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780 Automated MinGW Installer].[[BR]]
    27      Specifically, you will need `gcc-core 3.4.2`, `binutils 2.15.91`, `mingw-runtime 3.9` and `win32api 3.9` (or newer).[[BR]]
    28      You will need to set MinGW's bin directory before Cygwin's in your PATH.[[BR]]
    29      For Example (You can add the following to your `~/.bashrc` file (create the file if it doesn't exist yet)):
    30 {{{
    31   export PATH=/cygdrive/c/MinGW/bin:$PATH
    32 }}}
    33      You do not want to use any of Cygwin's build tools, with one exception; you need to use Cygwin's make utility. If typing `which make` produces MinGW's make utility, then just rename the `make.exe` in the MinGW bin directory to something else so that cygwin's make utility will be used instead. This shouldn't be a problem with recent versions of MinGW.
    34 
    35   3. The following instructions were written under the assumption that [#GetthePidginsourcecode the Pidgin source] will be extracted or checked out into `$PIDGIN_DEV_ROOT/pidgin-<version>` and that you install all of Pidgin's build dependencies under `$PIDGIN_DEV_ROOT/win32-dev` (the point being that the pidgin source root and `win32-dev` directories should be on the same level).
     25  2. The following instructions were written under the assumption that [#GetthePidginsourcecode the Pidgin source] will be extracted or checked out into `$PIDGIN_DEV_ROOT/pidgin-<version>` and that you install all of Pidgin's build dependencies under `$PIDGIN_DEV_ROOT/win32-dev` (the point being that the pidgin source root and `win32-dev` directories should be on the same level).
    3626     Some users may find the [#CustomizingtheBuildEnvironment instructions for customizing their build environment] useful.
    3727
     
    4838(If the following file is present, your structure is probably correct.)
    4939C:\development\pidgin_dev\win32-dev\gtk_2_0-2.14\include\libintl.h
     40}}}
     41
     42  3. Install the MinGW "GCC Version 4" packages from the [http://www.mingw.org MinGW site].
     43  * There isn't currently an installer for these; the following instructions are distilled from the MinGW manual instructions [http://www.mingw.org/wiki/Getting_Started#toc2 here]
     44  * Create a `win32-dev/mingw` directory and download the following into it:
     45   * [http://sourceforge.net/projects/mingw/files/GNU%20Binutils/binutils-2.20/binutils-2.20-1-mingw32-bin.tar.gz/download binutils-2.20]
     46   * mingw-runtime 3.17 ([http://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.17-mingw32-dev.tar.gz/download dev] and [http://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.17-mingw32-dll.tar.gz/download dll])
     47   * [http://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/w32api-3.14/w32api-3.14-mingw32-dev.tar.gz/download w32-api 3.14]
     48   * Required runtime libraries for GCC ([http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gmp-4.2.4-mingw32-dll.tar.gz/download gmp 4.2.4], [http://sourceforge.net/projects/mingw/files/MinGW%20libiconv/libiconv-1.13.1-1-mingw32-dll-2.tar.lzma/download libiconv 1.13.1], [http://sourceforge.net/projects/mingw/files/GCC%20Version%204/mpfr-2.4.1-mingw32-dll.tar.gz/download MPFR 2.4.1] and [http://sourceforge.net/projects/mingw/files/GCC%20Version%204/pthreads-w32-2.8.0-mingw32-dll.tar.gz/download pthreads 2.8.0])
     49   * gcc-core 4.4.0 ([http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gcc-core-4.4.0-mingw32-bin.tar.gz/download bin] and [http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gcc-core-4.4.0-mingw32-dll.tar.gz/download dll])
     50  * Extract all of the above downloaded files directly into the `win32-dev/mingw` directory.
     51  * You will need to set MinGW's bin directory before Cygwin's in your PATH.[[BR]]
     52   For Example (You can add the following to your `~/.bashrc` file (create the file if it doesn't exist yet)):
     53{{{
     54  export PATH=/cygdrive/c/development/pidgin_dev/win32-dev/mingw/bin:$PATH
    5055}}}
    5156
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!