asm issues

2020-07-09 Thread Shucks
I know that a newcomer and hobbycoder should probably not mess with asm statements.. but I want to =) I'm already sorry that I am mixing at&t and intel syntax in the code below. gcc --version gcc (x86_64-win32-seh-rev1, Built by MinGW-W64 project) 6.3.0 nim -v Nim C

Re: Choosing Nim

2020-06-26 Thread Shucks
> a way to rapidly check snippets of code. I think in this regard inim would be > very useful. I tend to be a bit of a hacker and tend to experiment with > snippets of code to understand how they work before slapping them into a > program. INim is great. Also if you're using VSCode you can try

How to debug a library with gdb on windows?

2020-06-22 Thread Shucks
So nim-gdb is working fine for me now with binaries. I can use it on VSCode aswell and it works great. finish.exe should set the NIM_GDB environment in the nim-gdb.bat if you let it setup mingw btw. I had to fix that manually. However, I've coded a simple library with nim which gets load some ti