git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* No cross-compiling instructions on INSTALL
@ 2021-03-13 13:41 Bagas Sanjaya
  0 siblings, 0 replies; only message in thread
From: Bagas Sanjaya @ 2021-03-13 13:41 UTC (permalink / raw)
  To: git

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

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

only message in thread, other threads:[~2021-03-13 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13 13:41 No cross-compiling instructions on INSTALL Bagas Sanjaya

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).