All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross compiling git for ARM
@ 2014-08-01 17:53 Robert Dailey
  0 siblings, 0 replies; only message in thread
From: Robert Dailey @ 2014-08-01 17:53 UTC (permalink / raw)
  To: Git

Hello,

I'm interested in cross compiling Git 2.0.3 (I have a clone from
github) for ARM. Ideally I'd like to use the prebuilt gcc eabi
toolchain bundled with Android NDK, since I plan to run the git
executable on an ARM device running the android kernel.

I've looked into the "./configure --help" documentation but nothing
strikes me as helpful for this. I also have relied heavily on Google
searching but again I'm hitting dead ends.

I'm not an expert with Linux, so it would really help to have a set of
instructions that are detailed and easy to understand.

Here is as far as I've gotten:

1. Ran "autoconf" inside my git clone root.
2. Ran "./configure --prefix=/home/fe/git-arm --build=x86_64-linux-gnu
--host=arm-linux-gnueabi"
3. Ran "make"
4. Build fails because there is no OpenSSL.

Then I began to wonder, do I need to cross compile OpenSSL, ZLib, and
other things too? This is getting pretty messy :(

Note that on step #2 I am using the gcc arm cross compiler from Ubuntu
package manager, because I couldn't for the life of me get the Android
NDK toolchain working. I'm fine with using the ubuntu one as long as
it yields an ARM executable that can be run on my device.

Our device is ARM Cortex - A8, so I'm not sure what version of GCC ARM
is compatible with this chip.

Thanks in advance for any help at all!!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-01 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-01 17:53 Cross compiling git for ARM Robert Dailey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.