A current version of the nimrod is crashing when compiled with tcc. A version 0.8.8 of the nimrod compiler was fine. Any suggestions about what wrong with tcc?
PS: a csource generated by nimrod must include only one file -- nimbase.h. This will allow a speed up a compiling, something like tcc -E *.c | gcc -o nim -xc -
You can try the versions between 0.8.8 and 0.10.2 too. Perhaps that helps to figure out the problem.
Any assumptions?
No idea.
I will try to bisect a git://github.com/Araq/Nim.git. May be this helps to locate a problem. Currently it looks like a problem appear after throwing away a rod code.
PS: nim is nice as a command name. But a nimrod as a language name is better for me.
csources/build.sh: using "uname -m" for ARCH detection is a _BAD thing when a 64bit kernel runs a 32bit userspace. It is better to detect ARCH of the gcc compiler
From what I can find by googling many build systems behave in the same way. Wouldn't it be better to use "setarch linux32" on your system?