Hi Pierre, On 2013.01.23 19:51, Pierre Vanhoucke wrote: > Is there someone on this list who can compile libusbx-1.0.xx for > windows from source with > mingw32 under Linux ?
Haven't tried it for some time, but, something like: ./configure --host=i686-pc-mingw32 is probably what you're looking for. The triplet should be adjusted to what your compiler is set to, which you *may* be able to find by having a look in /usr/local/lib/gcc/ or wherever your cross compiler is supposed to install its binaries (eg: if you see /usr/local/lib/gcc/x86_64-w64-mingw32/, which is what MinGW-w64 uses, it tells you that you can use --host=x86_64-w64-mingw32). There's probably plenty of documentation on how to figure out your triplet if you don't know it, so google is your friend. Also, remember that if you compile from git, and therefore use autogen.sh, you will need to pass the --host as an argument, eg: ./autogen.sh --host=i686-pc-mingw32 make NB: by default this will produce dynamically shared library and executables. The test I just ran with MinGW-w64 cross compilation seems to indicate that one of the latest Makefile.am modification broke something when using --disable-shared, as we're still trying to invoke DLL generation, which of course will break. Sigh - one more thing to look into for 1.0.15... Regards, /Pete ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel