summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@gmx.de>2007-10-04 20:54:27 +0000
committerPatrick Ohly <patrick.ohly@gmx.de>2007-10-04 20:54:27 +0000
commit4aa53726875c218f600b8f8df5575809c3d92c9c (patch)
tree40bb6f812c3ee38e353f31fdbcd316f323032c3b /HACKING
parent691090fbccec52663453492acb03c8de46781717 (diff)
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
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING16
1 files changed, 16 insertions, 0 deletions
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