git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to compile Git with NDK?
@ 2014-09-22 19:04 Robert Dailey
  2014-09-22 21:22 ` Stefan Beller
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Dailey @ 2014-09-22 19:04 UTC (permalink / raw)
  To: Git

I run the following on Ubuntu:

fe@BLD01:~/code/git$ autoconf
fe@BLD01:~/code/git$ ./configure --prefix=/home/fe/git-arm
--build=x86_64-linux-gnu --host=arm-linux-androideabi
configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/fe/code/git':
configure: error: C compiler cannot create executables
See `config.log' for more details


I have my NDK's prebuilt GCC 4.8 toolchain on PATH (the bin folder).
Can someone help me cross compile Git using Android NDK toolchain?

Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-23 16:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 19:04 How to compile Git with NDK? Robert Dailey
2014-09-22 21:22 ` Stefan Beller
2014-09-23 12:47   ` Robert Dailey
2014-09-23 12:52     ` Robert Dailey
2014-09-23 16:13       ` Jeff King
2014-09-23 16:11     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).