I found http://www.gtk.org that has a ms windows library that I will use when 
building Linphone.  I've installed it in a directory for ms win32 specific dev 
named
 /cygdrive/c/win-dev

I am trying to confiure as follows:

$  ./configure CC="/usr/bin/i686-w64-mingw32-gcc" 
CXX="/usr/bin/i686-w64-mingw32-c++.exe" 
CPPFLAGS="-I/cygdrive/c/win-dev/include" LDFLAGS="-L/cygdrive/c/win-dev/lib"


Thread model: win32
gcc version 4.8.2 (GCC) 
configure:3678: $? = 0
configure:3667: /usr/bin/i686-w64-mingw32-c++.exe -V >&5
i686-w64-mingw32-c++: error: unrecognized command line option '-V'
i686-w64-mingw32-c++: fatal error: no input files
compilation terminated.
configure:3678: $? = 1
configure:3667: /usr/bin/i686-w64-mingw32-c++.exe -qversion >&5
i686-w64-mingw32-c++: error: unrecognized command line option '-qversion'
i686-w64-mingw32-c++: fatal error: no input files
compilation terminated.
configure:3678: $? = 1
configure:3698: checking whether the C++ compiler works
configure:3720: /usr/bin/i686-w64-mingw32-c++.exe  
-I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp  >&5
configure:3724: $? = 0
configure:3772: result: yes
configure:3775: checking for C++ compiler default output file name
configure:3777: result: a.exe
configure:3783: checking for suffix of executables
configure:3790: /usr/bin/i686-w64-mingw32-c++.exe -o conftest.exe  
-I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp  >&5
configure:3794: $? = 0
configure:3816: result: .exe
configure:3838: checking whether we are cross compiling
configure:3846: /usr/bin/i686-w64-mingw32-c++.exe -o conftest.exe  
-I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp  >&5
configure:3850: $? = 0
configure:3857: ./conftest.exe
./configure: line 3859:  2260 Segmentation fault      ./conftest$ac_cv_exeext
configure:3861: $? = 139
configure:3868: error: in `/cygdrive/c/win-apps/linphone/src/linphone':
configure:3870: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.


configuring with  (change c++ to cpp in the c++ executable name) Don't which to 
use.

 $ ./configure CC="/usr/bin/i686-w64-mingw32-gcc" 
CXX="/usr/bin/i686-w64-mingw32-cpp.exe" 
CPPFLAGS="-I/cygdrive/c/win-dev/include" LDFLAGS="-L/cygdrive/c/win-dev/lib"

configure:3667: /usr/bin/i686-w64-mingw32-cpp.exe -V >&5
i686-w64-mingw32-cpp: error: unrecognized command line option '-V'
configure:3678: $? = 1
configure:3667: /usr/bin/i686-w64-mingw32-cpp.exe -qversion >&5
i686-w64-mingw32-cpp: error: unrecognized command line option '-qversion'
configure:3678: $? = 1
configure:3698: checking whether the C++ compiler works
configure:3720: /usr/bin/i686-w64-mingw32-cpp.exe  
-I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp  >&5


I vaguely remember hearing something about the -V option causing problems, but 
might be mistaken. 

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to