From 4aa53726875c218f600b8f8df5575809c3d92c9c Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 4 Oct 2007 20:54:27 +0000 Subject: port to iPhone: lots of hacks and debug output, none of the multiprops supported yet (use unknown format in API) git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@399 15ad00c4-1369-45f4-8270-35d70d36bdcd --- HACKING | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'HACKING') diff --git a/HACKING b/HACKING index d89f3a63..3f8104b3 100644 --- a/HACKING +++ b/HACKING @@ -153,3 +153,19 @@ that address book syncing uses the default libraries): apt-cache showpkg libecal-dev libedata-cal-dev ver=1.4.1-0zoh4; for i in libecal-dev libecal libedata-cal libedata-cal-dev; do wget http://maemo.o-hand.com/packages/mistral/${i}_${ver}_armel.deb; done dpkg --force-depends -i *.deb + +- compiling for iPhone: + Requires iPhone toolchain and libcurl, ideally configured as small as possible + and statically (to avoid packaging problems): + ./configure --prefix=/usr/local/iphone --host=arm-apple-darwin --disable-shared \ + --disable-crypto-auth --without-gnutls --without-ssl --without-zlib \ + --without-libssh2 --disable-ipv6 --disable-manual --disable-telnet \ + --disable-tftp --disable-ldap --disable-file --disable-ftp + manually set HAVE_POSIX_STRERROR_R in lib/config.h + + Potential problems with toolchain: + std++ not found: ln -s libstdc++.6.dylib /usr/local/iphone-filesystem/usr/lib/libstdc++.dylib + AddressBook framework must be added to iphone-dev/include/install-headers.sh.in + + Compile with curl-config in the PATH: + PATH=/usr/local/iphone/bin/:$PATH ~/projects/sync4jevolution/configure --host=arm-apple-darwin --with-sync4j-src=/home/patrick/projects/native CXXFLAGS=-g --disable-ecal --disable-ebook --enable-addressbook \ No newline at end of file -- cgit v1.2.3