diff options
author | 2013-02-11 16:00:58 -0400 | |
---|---|---|
committer | 2013-02-11 16:00:58 -0400 | |
commit | 66864d5d99e595e56ed77bd89312abc43d593c83 (patch) | |
tree | 47bb74bc92145c51faf76632785500e1bad3a30e /doc/design | |
parent | 4b5aa38d39f4bef06bcbface980584d2654bcd28 (diff) | |
parent | e658dc378eaa14607278cddd30f965ffcff89426 (diff) |
Merge branch 'android'
Diffstat (limited to 'doc/design')
-rw-r--r-- | doc/design/assistant/android.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/design/assistant/android.mdwn b/doc/design/assistant/android.mdwn index 1a2ba8dd8..d050619c7 100644 --- a/doc/design/assistant/android.mdwn +++ b/doc/design/assistant/android.mdwn @@ -32,3 +32,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/ |