For reliability, cross compiling on Linux is always a good idea.

On Thu, Nov 8, 2012 at 3:30 PM, Václav Šmilauer <e...@doxos.eu> wrote:
>
>>> I am currently compiling several 3rd-party libraries which I need for my
>>> code. Among those are glib, VTK, Qt and perhaps several others. I have
>>> the (32bit) MSYS installed, which provides standard directories like
>>> /usr/lib, /usr/include, ...
>> These should not be present, if they are, it is likely it is ONLY for
>> MSYS development, which you are not clearly doing, so please move them
>> away for safety.
> Ok for headers; I unstalled all msys-lib* packages and /usr/lib is now
> empty as well. Good.
>>> When configuring libs, I use --prefix=/c/MinGW64 to not to install them
>>> into the 32bit MSYS tree, but I fear that I will have comflicts between
>>> 32bit/64bit headers, as the 32bit ones are in the default search path.
>>> Secondly, it is a bit tedious to install everything to non-default
>>> paths. Is there some solution to this I am overseeing?
>> Use proper CPPFLAGS and LDFLAGS instead, there is no easy way to deal
>> with this.
> Ok.
>>> Second thing which comes to my mind: are there perhaps some pre-built
>>> packages for common libraries? How about the cross-packages from Fedora,
>>> couldn't they be just unpacked and used?
>> You could, but you may run into ABI problems if you don't have the exact
>> compiler configuration. YMMV.
> I will try not to use pre-compiled for now.
>
> I will have quite a few scripts (wget, unpack, patch, configure, make,
> make install) for various libs; will post it somewhere later. Perhaps
> someone will find it useful.
>> There is no 64bit MSYS. If you mean to build make with mingw-w64,
>> don't, MSYS make and mingw32-make are completely different and fulfill
>> different roles.
> Yes, I meant building 64bit make with mingw-w64. Currently, the "make"
> binary is the i686-pc-msys one. I will keep using it, then.
>> Check for BLODA instead. See
>> <http://cygwin.com/faq/faq.using.html#faq.using.bloda>
> Good pointer, thanks. Not clear how to disable Catalyst, having an ATI
> graphics card, though.
>
> Cheers, Václav
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to