Jan 16, 2017 at 7:18pm UTC
I am building SDL in Eclipse and it has different build paths for 32bit/64. How do determine my current bit configuration in MinGW?
Last edited on Jan 16, 2017 at 7:24pm UTC
Jan 16, 2017 at 10:29pm UTC
At a shell:
g++ -dumpmachine
Jan 17, 2017 at 12:55am UTC
Sorry, how do I make the shell. I tried the "run" CMD but it closed before I saw any dialog.
Jan 17, 2017 at 1:28am UTC
I'm not entirely sure, but IIRC you need to enter "cmd" into the RUN dialogue.
I think you can get the run box by pressing Windows+R (i.e., the Windows key and the letter R simultaneously).
Jan 17, 2017 at 1:34am UTC
add cmd / k
before g++ -dumpmachine
now window stays open, and my system is read as having x86_64-w64-ming32! So we have a 64 bit installation. Thx.
Last edited on Jan 17, 2017 at 1:35am UTC
Jan 17, 2017 at 12:46pm UTC
At least I am assuming that
x86_64-w64-ming32
is a 64 bit installation. Is it?
Jan 19, 2017 at 8:58pm UTC
Its now reading >ming32 in response to dumpmachine. What it now be any different than the 64 bit indicator above?
Jan 19, 2017 at 9:44pm UTC
-dumpmachine
reports the target triplet.
Architecture, vendor, operating-system, in that order, delimited by hyphens.
x86_64 implies that the target architecture is 64-bit.
Jan 28, 2017 at 2:20am UTC
g++ -dumpmachine
still:
mingw32