From: zhou d. <dra...@gm...> - 2007-09-18 02:37:22
|
2007/9/18, FX Coudert <fxc...@gm...>: > Hi all, > > I've been creating a x86_64/linux-hosted cross targetting mingw-w64, > thanks to the fine howto available with the source package. I have > two questions, though. First, the instructions talk DLL being > produced by the "make" command, but in my case, there were none. Is > that expected? I have the same result with you. It seems the Makefile only generate static library, maybe there is some flag to be turned on which can generate shared library (dll). But for now, static library maybe enough and works well. > > The second one is about "what do I do next?". I don't have a Win64 to > test things on, but I'd like to provide Win64-hosted binaries for GCC > and gfortran (I'm a gfortran maintainer). So, what else is needed to > run the executables once they're created? On i386, mingw has a > runtime DLL component (mingwm10.dll), is one required here? Is it the > same one? > You need a Win64 ( such as winxp x64, and M$ provides eval version ) or you can use VMware or virtualpc to run it. No other thing is needed, mingwm10.dll is not need, because mingw64-crt is static linked. If you can build a shared mingw64-crt, you can get xxx.dll like mingwm10.dll for 64bit env. > Sorry for the questions, I hope you can help. I'll post the results > of my future investigations ("build != host == target" compiler) in > case it turns out productive. > I have been successfully build the cross compiler for x86_64-pc-mingw32, and use this cross compiler to compile console program which can run under winxp x64. And now, I want to do the following things : (1) Use the cross compiler to compile a native compiler that run natively under winxp x64. the binutils seems ok, but the gcc build failed. I am still trying. (2) Use the cross compiler to build GUI program. It seems we need win32api, I am trying to build the win32api from mingw, but it's for 32bit env, I don't know whether it can be used under 64bit env, just trying. I try to build wxWidgets library, but it failed for the undefine of "__uuidof()" function, I can't find it, even in 32bit mingw env. (3) Build ffmpeg using cross compiler, Start to trying, not got any result yet. > Thanks, > FX > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > |