Compile C applications with gcc on AppleTV2.
Here is a good tutorial, building a Webserver, direct on your AppleTV.
Follow these steps:
Download sys32.tgz, and copy it to Apple TV2 path /var/mobile/
Install the 3.2 SDK header file (this is huge)
download the Utilities_atv2.zip (1238 K) source code (including the ATv2 header-files) to Apple TV2 path /var/root/
Note : Remove with make uninstall
Package and install deb packages
Deb package installation
Reboot the Apple TV2
You will now see a new menu item “Utilities”.
Start the server in the sub menu
Now in your favorite computer’s browser type : “http:// to your AppleTV2 IP address: 8080 /”, such as “Appletv.local:8080/”
You should now get something like this:
The ipod4g.frontrow.appliance.utilities_atv2_1.1_iphoneos-arm.deb file is ready for download if you would like to test without the GCC installation set.
Tags: AppleTV 2, AppleTV2, AppleTV2.nl, assembly, ATV2, C, compilation, embedded web server, g++, GCC, hello.c, iMHo, ldid, linking, MACasuba, mongoose, preprocessing, web server, webserber, Webserver Mongoose GCC
Comments are closed.
© 2013 AppleTV2.NL | Best viewed with Firefox