Re: Nim on Android

2017-11-23 Thread hawk_king
Yes true, please try this: pkg update pkg install libandroid-glob-dev libandroid-glob git clang nodejs pcre pcre-dev libsqlite git clone https://github.com/nim-lang/Nim cd Nim git clone --depth 1 https://github.com/nim-lang/csources cd csources find ./ -

Re: Nim on Android

2017-11-21 Thread hawk_king
Hi, I had the same problem, this worked for me pkg update pkg install libandroid-glob-dev libandroid-glob git clang nodejs pcre pcre-dev libsqlite git clone https://github.com/nim-lang/Nim cd Nim git clone --depth 1 https://github.com/nim-lang/csources find ./ -

Re: How to debug nim code?

2017-07-20 Thread hawk_king
your example works and my example also works. Last week I switched to Xonsh and this was the problem, it works when I run env SHELL=/bin/bash gdb hello thanks

Re: How to debug nim code?

2017-07-18 Thread hawk_king
I followed this [http://hookrace.net/blog/what-makes-nim-practical/#debugging-nim](http://hookrace.net/blog/what-makes-nim-practical/#debugging-nim) but gdb does not stop on a breakpoint: $ nim --d:debug --lineDir:on --debuginfo --debugger:native c hello.nim $ gdb hello (gd