View Single Post
Old 08-12-2012, 08:56 AM   #171
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
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.

Last edited by twobob; 08-12-2012 at 09:03 AM. Reason: added extra toughness
twobob is offline   Reply With Quote