`--cc` is the commend to choose your compiler, those are predefined (gcc, 
clang, vcc, ...).

If you want to specify your gcc executable you need to pass `--gcc.cpp.exe:` 
for C++ compilation or `gcc.exe:` for C compilation.

So your command line should be:
    
    
    nim --gcc.cpp.exe:~/compilers/bin/g++ cpp --compile_only ~/jsparser.nim
    
    
    Run

Reply via email to