Updated guide for fpc2.6
authorvittorio.giovara@gmail.com
Sun, 18 Mar 2012 14:59:04 +0000
changeset 206 125a79c342d8
parent 205 e0e1e96e401b
child 207 f46af5897066
Updated guide for fpc2.6
BuildingForIos.wiki
--- a/BuildingForIos.wiki	Wed Feb 29 23:34:15 2012 +0000
+++ b/BuildingForIos.wiki	Sun Mar 18 14:59:04 2012 +0000
@@ -33,16 +33,16 @@
 hg clone http://hg.libsdl.org/SDL_mixer
 }}}
 
-We will now go into each of them
-   # SDL - quite easy, comes with a project file in Xcode-iPhoneOS that can be used to generate the library
-   # SDL_image - easy, you need to uncompress a tar file to get the project file but then you can compile the library
-   # SDL_net - surprise! No project file for iOS; i had to take the Mac one and change targets 
-   # SDL_ttf - the above applies here as well
-   # SDL_mixer - here's where the fun begins! Besides changing targets, you need to remove unnecessary decodes from the preprocessor macros; you'll find more details about this [http://projectsymphony.blogspot.com/2009/12/how-to-compile-sdlmixer-for-iphone.html here]
+Each library has its own iOS project file under the folder Xcode-iOS/; also here you need to build both Release and Debug for all the Architectures available. After this step remeber to update the include paths and linker information in the main Xcode project file.
 
 == Necessary Tools ==
 
-Besides the iOS SDK, you need a special variant of Freepascal to build the engine; luckily the whole process of getting it is well documented here: http://wiki.lazarus.freepascal.org/iPhone/iPod_development
+Besides the iOS SDK, you need a special variant of Freepascal to build the engine as well as the standard Freepascal compiler. So let's download and install (in order):
+
+  * [http://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/2.6.0/fpc-2.6.0.intel-macosx.dmg/download fpc-intel-macosx]
+  * [http://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/2.6.0/fpc-2.6.0.arm-ios.dmg/download fpc-arm-ios]
+
+The latter one will run a script on its own, let it finish and if no errors are reported, your system is ready! If you get stuck anywhere, luckily there is a full documentation about this process on the [http://wiki.lazarus.freepascal.org/iPhone/iPod_development  Freepascal Wiki]
 
 = Building process =