In the readme file it indicates that pnut.exe is capable of building tcc. I can't seem to figure out how to actually do that though. Can you please advise whether this is possible? Simply passing --cc=pnut.exe to the tcc configure script won't work:
configure: error: 'pnut.exe' failed to compile conftest.c
If I try this (which works with gcc after the configure script has been run):
I get the following error:
codegen_glo_decl: unexpected declaration
I'm using a stock tcc 0.9.27 release from 2017 (rather than a random version of their mob branch). Same issue when i use the i386 backend.
In the readme file it indicates that pnut.exe is capable of building tcc. I can't seem to figure out how to actually do that though. Can you please advise whether this is possible? Simply passing
--cc=pnut.exeto the tcc configure script won't work:If I try this (which works with gcc after the configure script has been run):
I get the following error:
I'm using a stock tcc 0.9.27 release from 2017 (rather than a random version of their mob branch). Same issue when i use the i386 backend.