I want real 64-bit and real 32-bit executables generated by my 32-bit machine.
Currently the "Toolchains targeting 64-bit" do not execute on a 32-bit OS. If you execute g++, you get "This is not a valid win32 application" like I get with any other 64-bit executable.
You shouldn't be worried about 32-bit code executing on a 64-bit OS. it will execute just fine. I tested it on Windows 7, and I have been told by others that is is not a problem on their machines.
I should be able to cross-compile. specifically, I should be able to generate real 64-bit executables on a 32-bit machine, and I should be able to generate real 32-bit executables as well.
so what I am saying is the 64-bit toolchain AND the 32-bit toolchain should both be 32-bit but generate either 64-bit or 32-bit code.
With Windows Vista and Windows 7 though, you must have an XML manifest compiled in if it is put in C:\Program Files or it will be moved into the Virtual Store, which is somewhere in AppData.
see my web page at http://jesusnjim.com/code/mingw.html
if you need information on the XML format and a batch file for making executables with a manifest using various flavors of mingw.
If you want, you can include the batch file with the compiler. It is fine with me. If you do, you might also want to include a .URL (internet shortcut) file along with it that points to the web page you got it from. (see URL above)