# No cross-compiling instructions on INSTALL

1 messages from 2021-03-13 to 2021-03-13. Participants: Bagas Sanjaya.
Thread: https://gitlist.dev/t/55304

## Bagas Sanjaya, 2021-03-13 13:41

Subject: No cross-compiling instructions on INSTALL
Message-ID: <f3166e9e-0616-948a-2236-7f169976d035@gmail.com>
URL: https://gitlist.dev/e/f3166e9e-0616-948a-2236-7f169976d035%40gmail.com

```
Hello,

I'm just skimming through INSTALL, and I didn't find any mention to
cross-compiling Git. I think it would be nice to add such instructions to
INSTALL, or to separate INSTALL_CROSS.

The idea of cross-compiling is to compile Git targeting different architecture
and/or OS than build machine (for example, compiling for ARM on x86(_64).

Note that for cross-compiling we need a cross-compiler targeting the desired
target, and for binary compatibility with rest of target system, we need
versions of compiler, libc, and binutils match the ones on the target.

Thanks.
  
-- 
An old man doll... just what I always wanted! - Clara

```
