Okay well I am not 100% if it was for the emulator or the kindle but there is a version out there IIRC correctly that does support the run argument. This difference, I suspect, would fix your problem.
Here is the preamble
https://www.mobileread.com/forums/sho...1&postcount=73 and here is the final thing
https://www.mobileread.com/forums/sho...7&postcount=76
As is mentioned in the post though:
Quote:
Edit:
What some users probably need is a build of this with SYSROOT=/mnt/us included in the configure; maybe even add /mnt/us/lib and /mnt/us/include into the tcc-static search paths. But those are documented options in the ./configure --help file and now anyone can do it with these two posts.
|
And perhaps more significantly
Quote:
Code:
(armv6l:1) /home/tinycc # gcc --static --static-libgcc -o tcc-static tcc.o libtcc.a -lm -ldl
(armv6l:1) /home/tinycc # ldd tcc-static
not a dynamic executable
(armv6l:1) /home/tinycc # strip --strip-unneeded tcc-static
Which disables the functioning of libdl but if you can live without the -run option ...
(The -run option causes this tcc-static to hang, it would take a bit of further tweaking to make -run work while libdl was statically linked).
|
so there may be some cooking involved
HTH.
@GM like I said. I was wrong.