On 12/6/2013 16:39, wynfield wrote:
> 
> I am going to try to build the Linphone VoIP SIP application, whose source I 
> download using git,  using MinGW-w64 with Cygwin on an XP SP3 environment. 
> 
> I assume that Cygwin's m4, aclocal, autoheader, automake, autoconf, 
> autogen.sh, libtoolize
>   modules are safe to use and don't inject any Cygwin dll dependent setings?
> 
> I also assume that MinGW-w64's include files and libraries will automatcially 
> be detected, but I doubt that this is true.
> 
> I ran  ./autogen.h  which completed without error.
> Then I ran configure as:
> $ ./configure CC=/usr/bin/i686-w64-mingw32-gcc 
> CXX=/usr/bin/i686-w64-mingw32-c++.exe
> 
> 

Don't do that, use configure --host=i686-w64-mingw32 instead.

> Are there any other ./configure flags or variables that need to be set for a 
> configure script?
> 
> 

Depends on your software, you should really set --prefix, /usr/local is
typically for native code.

> But I don't see any flags for the loader, but w64-mingw32-gcc probably knows 
> which loader to use by default.
> 
> If there are any inGW-w64 specific include files or libraries, are they 
> stored in /usr/incude and /usr/lib respectively?  If not where are they 
> stored?
> 

Don't do that either, /usr/incude and /usr/lib is for native code, in
this case Cygwin. Never ever use them for cross compilation.

> I ran into a dependency problem:
> 
>   "checking for LIBGTK... configure: error: Package requirements (gtk+-2.0 >= 
> 2.18.0 gthread-2.0) were not met:"
>       "No package 'gtk+-2.0' found
>        No package 'gthread-2.0' found "
> 
> I will need the gtk+-2.0 library.  Cygwin has one, but it requires cygwin.dll 
> which I don't mind using, but can it be done ?     I need native speed for 
> the video and audio processing, so don't want to go through Cygwin.
> 

No, you cannot use those for mingw-w64, those are for Cygwin.

> Has anyone built gtk+-2.0 or newer with Mingw-w64 or is it not worth the 
> effort?

Yes, it has been done before, notice the mass rebuilt on the 4th, it has
gtk2/gtk3. You should really build it yourself.



Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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