Hi,

There are a few options.

  * To simply compile to C, use the "-c" option:


    
    
    nim c -c test.nim
    

This will create a nimcache directory containing your C source.

  * To specify a specific C compiler, as described here: 
[https://forum.nim-lang.org/t/2387](https://forum.nim-lang.org/t/2387)



There are quite a lot of options that can be passed to the compiler to change 
the behaviour: 
[https://nim-lang.org/docs/nimc.html](https://nim-lang.org/docs/nimc.html)

Reply via email to