git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Beller <stefanbeller@gmail.com>
To: Robert Dailey <rcdailey.lists@gmail.com>,
	GIT Mailing-list <git@vger.kernel.org>
Subject: Re: How to compile Git with NDK?
Date: Mon, 22 Sep 2014 23:22:59 +0200	[thread overview]
Message-ID: <54209333.7090300@gmail.com> (raw)
In-Reply-To: <CAHd499C3iwpcGf+Zt+jDJfqW41P=6Uu=b8VGZKJpFZCtw56beg@mail.gmail.com>

On 22.09.2014 21:04, Robert Dailey wrote:
> 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

  reply	other threads:[~2014-09-22 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 19:04 How to compile Git with NDK? Robert Dailey
2014-09-22 21:22 ` Stefan Beller [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54209333.7090300@gmail.com \
    --to=stefanbeller@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=rcdailey.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).