thank you, I did download mingw64 (I actually used the one which would have 
been downloaded from choosenim at url 
[https://nim-lang.org/download/mingw64.7z](https://nim-lang.org/download/mingw64.7z))
 and now I have a different error message when compiling a simple `echo 
"hello"` program which is quite explicit (nim compiler and gcc do not agree on 
target architecture):
    
    
    In file included from 
C:\Users\ppeterlongo\nimcache\hello_d\@mhello.nim.c:9:0:
    C:\Users\ppeterlongo\.choosenim\toolchains\nim-1.0.6\lib/nimbase.h:457:13: 
error: size of array 'Nim_and_C_compiler_disagree_on_target_architecture' is 
negative
     typedef int Nim_and_C_compiler_disagree_on_target_architecture[sizeof(NI) 
== sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    
    Run

So it appears I am back to square one. Even if my gcc compiler is a 64 bit one 
now, nim compiler still thinks I am on a 32 bit architecture (which is probably 
also the reason why chooesnim installed mingw32 instead of mingw64).

Reply via email to