View Single Post
Old 09-04-2019, 09:03 AM   #3
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by kelmscott View Post
Hey everyone - new forum member,

I'm using the tinycc (tcc) package created by geekmaster to compile a small C program which plays the game oware in the console (MyTs) on a kindle 3. Everything seems to work fine except that when I execute the binary none of the arguments seem to be passed to the compiled program. I'm not a programmer but assume this has something to do with getopt.

On my laptop running Arch Linux I've compiled the same program with an x86-64 version of tcc using the include files that come in the kindle-tcc package and the arguments work.

So I'm wondering if either anyone might have a clue what the issue is, or might have the necessary tool-chain built to cross-compile the attached file (awale.txt - I had to use txt for it to upload but it is a C program).

Thanks in advance for any help.
How are you executing your Kindle program (the one which "does not work")?
Are you using KUAL? A terminal (which one)? ssh? telnet? Something else?


Note: It is very hard to answer a "does not work" question.
knc1 is offline   Reply With Quote