Cross compiling git for ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]