![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() | |
![]() ![]() ![]() ![]() |
§@ªÌ | þï[How-To] Install gcc compiler & header files in iPhone |
javacom
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ª©¥D ¤å³¹: 3083 ![]() |
![]() ![]() ![]() ![]() Cydia is a new package management replacement to the existing Installer.app that we are using. And it now also brings you the full power of development tools in iPhone. Cydia might not be good for nomal packages that you could get from Installer.app But you could certainly get something that Installer.app can't give you. And this is great for developer. You can now install open toolchain headers and gcc compiler in your iPhone. Although it is slow to compile in iPhone but it is stable and very native. If you have ever build the cross compiler from sources before, you will love to see this working in your iPhone within 10 minutes or so. You can follow these steps to have the working gcc compiler,gnu make and the open toolchain header files : 1. Set your iPhone Auto-Lock to "Never" 2. Goto Installer and install the package Called Cydia Installer (version 1.0). It will take some time to download and install, so you should have connected your iPhone to Wifi 3. After installation of Cydia, iPhone will reboot and you will find a new icon "Cydia" in your Home Screen. Start "Cydia" and it will tell you to update Critical Packages. Follow the instructions to "Update All" 4. After update of Critical Packages in Cydia, install the following 3 packages GNU C Compiler Make iPhone 1.1.1 Headers 5. Then you can have gcc compiler in your iPhone now. You can use Mac Terminal or putty to access the terminal of iPhone and start building your application. Please take note that after the installation of Cydia, your BSD subsystem is now changed to Fake BSD subsystem and also fixed a number of bugs. So don't update BSD subsystem from the Installer.app To test the installation, you may want to try some HelloWorld example, and here is the attachment that you can try copy and unzip it to your iPhone then
Then you will have a new program HelloWorld. To uninstall this HelloWorld
![]() Enjoy! ![]() javacom ×§ï¤_ 2009-01-05 21:53
http://www.cnepub.com/discuz/?fromuid=47472 »´ä¥æ³q§Ö©ç v1.1 Preview http://hk.youtube.com/watch?v=1BHvTC5-QTc ¶}±ÒÁôÂêºªí±¡²Å¸¹¡A¤£¥Î jailbreak ![]() iPhone 3G ¡º«uºÆ¥Í´þ¡º ±`¨£°ÝÃD¶° |
¾ð«¬¥Ø¿ý |
![]() |
![]() ![]() |
![]() ![]() |
[¿ù»~«H®§] |
Table './iphone1/ut_online' is marked as crashed and should be repaired
½Ð³qª¾°Q½×°ÏºÞ²zû <kk@hkfoot.com>¡C |