From 3a74265cca180c959245867241830a9554f604ef Mon Sep 17 00:00:00 2001 From: smorlat Date: Sat, 31 Oct 2009 16:15:56 +0000 Subject: [PATCH] update mingw build instructions mingw-envsetup.sh script should run on intl'd windows. git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@742 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/README.mingw | 14 ++++++++------ linphone/mingw-envsetup.sh | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/linphone/README.mingw b/linphone/README.mingw index e2dd5b377..59133a7b8 100644 --- a/linphone/README.mingw +++ b/linphone/README.mingw @@ -16,6 +16,7 @@ Download from mingw download page (http://www.mingw.org, click download): - MSYS libtool>=2.2.7 - MSYS libcrypt*-bin - MSYS perl + - MSYS gettext-*bin* and gettext-*dev* ===> Uncompress all these packages in / - from gcc-4.4 directory Download: @@ -25,16 +26,13 @@ Download from mingw download page (http://www.mingw.org, click download): - gcc-c++*-dll - gmp*-dll - mpfr*-dll - - w32api-dev + - w32api*-dev - mingwrt-dev and mingwrt-dll (mingw run time) - gnu binutils 2.19 ===> Uncompress all these packages in /mingw note: lzma files can be uncompressed using tar --lzma -xvf -* Move out libstdc++.la in order to workaround a gcc-4.4.0 bug (or packaging bug): - mv /mingw/lib/gcc/mingw32/4.4.0/libstdc++.la /mingw/lib/gcc/mingw32/4.4.0/libstdc++.la.bak - * Download intltool (quicklink: http://ftp.acc.umu.se/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip note: -dev package is not needed.) @@ -52,8 +50,12 @@ note: lzma files can be uncompressed using tar --lzma -xvf http://download.savannah.gnu.org/releases-noredirect/linphone/misc/) uncompress in / * Download and install Inno Setup Compiler in its default path (required only if you run 'make setup.exe'). -* HACK: move out /lib/libintl.la : it confuses libtool - mv /lib/libintl.la /lib/libintl.la.bak + +* HACKS: + Move out /lib/libintl.la : it confuses libtool + mv /lib/libintl.la /lib/libintl.la.bak + Move out libstdc++.la in order to workaround a gcc-4.4.0 bug (or packaging bug): + mv /mingw/lib/gcc/mingw32/4.4.0/libstdc++.la /mingw/lib/gcc/mingw32/4.4.0/libstdc++.la.bak Get Linphone source code ************************ diff --git a/linphone/mingw-envsetup.sh b/linphone/mingw-envsetup.sh index 6e5f21fd7..f2a48737f 100644 --- a/linphone/mingw-envsetup.sh +++ b/linphone/mingw-envsetup.sh @@ -1,4 +1,4 @@ -export PATH=$PATH:/c/Program\ Files/GnuWin32/bin +export PATH=$PATH:/c/${PROGRAMFILES}/GnuWin32/bin export PERL=/c/Perl/bin/perl.exe export INTLTOOL_PERL=/c/Perl/bin/perl.exe