summaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-11 15:21:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-11 15:21:13 -0400
commit47170876e87a8483a9fc067ca71336f55f45e127 (patch)
tree2db905f5cb695f5269b7fb0e71c0d4abb2fc3c07 /doc/design
parent69cb6af4b7f6b16a69734d75ef5583bd2797c173 (diff)
fix case of uuid dep
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/assistant/android.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/design/assistant/android.mdwn b/doc/design/assistant/android.mdwn
index 06d6b9b1f..dfef5bb62 100644
--- a/doc/design/assistant/android.mdwn
+++ b/doc/design/assistant/android.mdwn
@@ -44,3 +44,14 @@ transfers when not on wifi. This may need to be configurable.
Due to use of the FAT filesystem, which doesn't do symlinks, [[desymlink]]
is probably needed for at least older Android devices that have SD cards.
+
+## Porting notes
+
+To build git, you can use the C cross compiler installed by ghc-android.
+I did so like this:
+
+ PATH=~/.ghc/android-14/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:$PATH NO_OPENSSL=1 NO_GETTEXT=1 NO_GECOS_IN_PWENT=1 NO_GETPASS=1 NO_NSEC=1 NO_MKDTEMP=1 NO_PTHREADS=1 NO_PERL=1 NO_CURL=1 NO_EXPAT=1 NO_TCLTK=1 NO_ICONV=1 make
+
+This required coping various directories from
+~/.ghc/android-14/arm-linux-androideabi-4.7/ into
+~/.ghc/android-14/arm-linux-androideabi-4.7/arm-linux-androideabi/