Sorry if I sent this twice...

Following Mike Meyer directions I was able to compile fossil for android
2.2, but had the same problem as him: nothing else than 'fossil help'

Here is what I did to make it work:
* downloaded the NDK and  following android-ndk-r5b/documentation.html did
  $NDK/build/tools/make-standalone-toolchain.sh --platform=android-5
  export PATH=/tmp/my-android-toolchain/bin:$PATH
  export CC=arm-linux-androideabi-gcc

* used Mike Meyer's Makefile but changed the following ( 4/ ABI
Compatibility section of the NDK documentation )
 NDK = /home/user1/Projets-new/andfossil/android-ndk-r5b
 GCC = arm-linux-androideabi-gcc
 # sqlite had problems compiling, but reading from an old post on the sqlite
mailing found the -Dfdatasync=fsync option
 TCC = $(GCC) -I$(NDK)/platforms/android-5/arch-arm/usr/include

  LDFLAGS=-Wl,--fix-cortex-a8 -dynamic-linker=/system/bin/linker

* then
  make clean; make

* copied it in the /system/xbin of my phone (yes my phone :) )

* added en entry for my server in /etc/host ( from the shell my phone does
not resolve names ...)

* cloned succesfully using
  fossil clone http://myserver/myrepo myrepo.fsl

I still have a pb using fossil server, but I think it is just a matter of
Also there is still the I18N and getpass workaround from Mike Meyer. I'm
going to try to make it without modifying fossil's sources.

Thanks for fossil :)
fossil-users mailing list

Reply via email to