You need to put the compiler arguments before the source file otherwise it 
takes them to be arguments to the binary for the run command. This should work 
    
    
    nim --run c -o:../bin/program main.nim
    

Reply via email to