The other day I came across an Issure regarding Aporia failing to install via 
nimble on x64 machines (due to lack of x64 dependencies for Windows). This made 
me think: is it possible to have on the same machine Nim 32 and 64 bits?

I thought that the compiling bitness was handled by GCC, ie: that you could 
compile both 32 and 64 bit binaries by choosing the architecture options to 
pass to GCC. But the above Aporia issue made me think that there are no such 
options when it comes to Nimble.

So, is it possible to build both 32 and 64 bits binaries with Nim? Does is it 
require a dual Nim installation? And how can one handle that?

Side note: I haven't put my hands on Nim for quite a long time: since v0.17.0 
came out. I started out with quite some entusiasm with v0.15 (bought the book 
_Nim In Action_ and wanted to have a go at it), but then since v0.17 the 
installers weren't provided any longer, and had experienced trouble setting it 
up, so I gave up. This week I've decided to give it another try, and am facing 
again problems with the setup on Win 10 x64 (yes, I've followed all the 
instructions, installed all the files from the Windows download page, including 
MinGW, and did run `finish.exe`: Nim does compile, but if I run the tests they 
fail).

Therefore, the question above is from a year-old newby, still struggling to get 
Nim up and running.

Reply via email to