I am using CDT on Windows 7 64 bit. I want to use JNA in Java on compiled Dlls. But how do I tell eclipse to build 64bit binaries (my JVM is 64 bits, so they have to be like that).
CDT itself doesn't build anything. What compiler are you using?
I would imagine you would need to use a 64 bit compiler.
MinGW-w64 would be what I would use.
http://mingw-w64.sourceforge.net/
edit: oops didn't see it was asked in 2011
Related
What are the differences between MinGW, MinGW-w64 and MinGW-builds?
And which one should I use to compile c++ 11 source code with the Eclipse IDE on a Windows 8 machine?
MinGW is a GCC-port for Windows. Not all of the Windows API is supported (but for many programs the supported stuff is sufficient) and it´s only for 32bit-Programs (which often can run on 64bit-Windows too, but some can´t, and you can´t compile them as 64bit).
MinGW-w64 is a improved version which supports both 32bit and 64bit, and some more of the WinAPI (still not all, because thats much work, but more than MinGW).
MinGW-w64 only provides their source code, but no binaries to "just use" the compiler.
MinGW-builds is a somewhat separate project to provide binaries in the most useful configurations. To get a specialized build of MinGW-w64, manual compiling is still possible.
Using the MinGW-builds self-installer is the easiest way, if nothing unusual is needed. Also see here for help with the self-installer.
Mingw compiles your code to Windows binaries that run under Windows.
Windows subsystem for Linux (WSL) makes Linux binaries. You can install other Linux programs under WSL, except if you need a graphical interface. You can access the Windows filesystem from WSL, but not vice versa.
Cygwin makes Windows binaries that can run under Windows outside the Cygwin shell, as long as you have the Cygwin DLL. This gives a Linux-like environment that is fully compatible with Windows.
I am starting with QT, using windows 64 bits I have MinGW already installed and I don't have VS.
What version of QT should I pick (MSVS or MinGW) and for what purpose?
Is there some cases where I must choose one over the another?
I saw that the only Qt version for MinGW is 32 bits, however MinGW supports 64 bits too, why?
Let say I want to develop a windows app and an android app, should I have to install both Qt's versions MSVC2015 and Qt for android?
You'd better install both of them. MinGW version for development and
MSVC version for release.
Because guys from Digia, who build Qt
releases, desided that there's no need in x64 MinGW release. But you
may get the sources and build it yourself.
Yes, you need both.
What are the differences between MinGW, MinGW-w64 and MinGW-builds?
And which one should I use to compile c++ 11 source code with the Eclipse IDE on a Windows 8 machine?
MinGW is a GCC-port for Windows. Not all of the Windows API is supported (but for many programs the supported stuff is sufficient) and it´s only for 32bit-Programs (which often can run on 64bit-Windows too, but some can´t, and you can´t compile them as 64bit).
MinGW-w64 is a improved version which supports both 32bit and 64bit, and some more of the WinAPI (still not all, because thats much work, but more than MinGW).
MinGW-w64 only provides their source code, but no binaries to "just use" the compiler.
MinGW-builds is a somewhat separate project to provide binaries in the most useful configurations. To get a specialized build of MinGW-w64, manual compiling is still possible.
Using the MinGW-builds self-installer is the easiest way, if nothing unusual is needed. Also see here for help with the self-installer.
Mingw compiles your code to Windows binaries that run under Windows.
Windows subsystem for Linux (WSL) makes Linux binaries. You can install other Linux programs under WSL, except if you need a graphical interface. You can access the Windows filesystem from WSL, but not vice versa.
Cygwin makes Windows binaries that can run under Windows outside the Cygwin shell, as long as you have the Cygwin DLL. This gives a Linux-like environment that is fully compatible with Windows.
The download page for cmake only shows a 32 bit installer for windows. Any idea how to install it on 64 windows systems.
There is really no reason for a 64bit native CMake. CMake is only building the configuration, so you can use it to build configurations for 64bit software, even with the 32bit version.
That being said, if you truly want a 64bit native version, you could always download the source and compile it. There is no 64bit installer, however.
The 32 bit version works perfectly even on 64 bit Windows. I've used it, and it works.
EDIT: It looks like CMake is now available in both 32-bit and 64-bit flavors. Just go to their website and you can get the 64-bit version.
A 64-bit Windows installer is now available from the download page: https://cmake.org/download
I want to build static library, that will be used with 64bit Qt Creator. I can build this lib(freetype) on Windows, or Mac, it doesn't matter. On Windows I've found mingw-64 and here is a question- is it neccessary to have 64bit version of make(for makefiles) from mingw64, or there is some way to just swap mingw32-g++ with 64bit version, and use old make from mingw32? Am I misunderstanding sth? I've already built 32bit version of freetype.a and it works fine on ubuntu and windows, where I have 32bit Qt Creator(and for Mac there is only 64bit Qt Creator, I don't know why...)
Thanks.
The make system doesn't care whether mingw is 32 or 64 bit. All it cares is that it can call off to the program. If you can run these programs from a command line, so can make.