Dear all,

I am still not figuring out how to use the mingw-w64 file structure
for using as a tool chain for Msys and Qt correctly. Up to now, I
always ended up copying files between folders and renaming manually,
which is, I guess, quite dirty. Now I'd like to work in a cleaner way.

Last example is just from today. I am trying to set up a 32-bit
environment for compiling my app, which up to now was compiled in
64-bit using a x86_64-w64-mingw32 rubenvb build.

So I downloaded a i686-w64-mingw32 gcc 4.8 release build from rubenvb.

I first tried to mount the i686-w64-mingw32 folder to /mingw in MSYS,
then tried to compile zlib and openEXR, which my app depend on.

However, configure and make quickly ends on issues such as "Cannot
create process", because it is missing some gcc executable.

So I tried to mount the main mingw folder instead and use the
host-prefixed file names. This implied to set "PREFIX" in zlib's
Makefile.gcc, and to specify the --host option for compiling OpenEXR.

However, I got two new issues:
 - zlib installed its headers in /mingw/include, this means in the
main mingw include folder. However, this one is not in mingw header
search path, which is in  i686-w64-mingw32/include along with all the
stdlib headers. This means I have to move manually the zlib installed
files.
 - The configure and make steps of openEXR stopped because they were
missing "libgcc_s_sjlj-1.dll" to lauch some executables. So I copied
them into the main bin folder along with the host-prefixed
executables.

So to conclude : what is the proper way? Which environments, mounts,
autoconf options etc... should I use to have everything working with
the mingw out of the box file structure?

Thanks in advance,

Etienne

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to