I asked a 
question([https://stackoverflow.com/q/59879692/12029705](https://stackoverflow.com/q/59879692/12029705))
 in StackOverflow regarding calling Nim from Rust through the C-FFI interface. 
In the process of dynamically calling Nim, one needs to instruct the compiler 
where to look for Nim lib:

> $ gcc -o m -I$HOME/.cache/nim/fib_d -Ipath/to/nim/lib 
> $HOME/.cache/nim/fib_d/*.c

Or: 
    
    
    cc::Build::new()
            .include("/usr/lib/nim")
    
    
    Run

My question is how to find that path/to/nim from the command-line. 

Reply via email to