|01-09-2011, 05:49 AM||#1|
Join Date: Jan 2011
Device: Kindle 2
Kindle tries to run C/++ applications like sh scripts?
Hi everyone. This is actually my first post here (of many soon to come, I hope), but I hate introduction threads so I figure I'll get straight to the point.
When in terminal (either through ssh or directly), and I attempt to run a compiled program that was compiled on another machine, I get the following error:
[appname] line 1: syntax error: "(" unexpected'
If your first instinct is to point out that I shouldn't be compiling things on different computers before I transfer to my Kindle, I understand. Instead, then, could you let me know the best way to compile programs on the Kindle? I'm aware of using tcc (as supplied by lrizzo), but I haven't had any luck with that at all, and I am unable to compile even simple applications (even after copying the include files from a machine that compiles correctly to the Kindle)
Last edited by dnR; 01-09-2011 at 05:51 AM.
|01-09-2011, 07:45 AM||#2|
Join Date: Dec 2010
You need to either install a compller on the kindle, or install a kindle compatible cross-compiler on your pc.
|compile, kindle 2, python, script, terminal|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Recovery mode for kindle 3? And starting user applications on boot||fivebells||Kindle Developer's Corner||3||12-17-2010 10:08 AM|
|Content where are the kindle applications??||mike_bike_kite||Amazon Kindle||18||09-25-2010 06:28 AM|
|Replacement Kindle 1 Serial number does not work with scripts||daffy4u||Amazon Kindle||4||02-10-2010 07:53 PM|