Thread (6 messages) 6 messages, 3 authors, 2016-06-15

Re: How to compile Git with NDK?

flat view

From: Robert Dailey <hidden>
Date: 2016-06-15 23:02:34

But if I type just 'make', I don't see how it will know where my ARM
toolchain is. I'll read the INSTALL file in the meantime.

On Mon, Sep 22, 2014 at 4:22 PM, Stefan Beller [off-list ref] wrote:
On 22.09.2014 21:04, Robert Dailey wrote:
quoted
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.
You don't need autoconf, just type 'make' and you'll be fine.

Please read the file INSTALL for installation instructions.

    Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help