Hi guys,

Currently I'm trying to create a portable coding environment with nim, and 
recently downloaded a pre-build runtime of compilers pack from 
[https://github.com/theopolis/build-anywhere](https://github.com/theopolis/build-anywhere).

I've tried g++ and indeed it correctly compiles c++ files.

I've shortend names and tried again and it still worked.

So i decided to try --cc option from nim to change default compiler. I provided 
path to compiler:

nim --cc:~/compilers/bin/g++ cpp --compile_only ~/jsparser.nim

But then that happend:

command line(1, 2) Error: unknown C compiler: '~/compilers/bin/g++'

Again, outside of nim it works well. Anyone tried something similar? How to 
attach different compiler? I just want to run it via nim cli, do I need to 
manually edit nim.cfg?

Using Nim 0.19.9 from April 1.

Reply via email to