Skip to content

Instantly share code, notes, and snippets.

@nufeng1999
Last active June 21, 2021 05:32
Show Gist options
  • Select an option

  • Save nufeng1999/9d0877f60c07a4bccd0c01d5b8c70e2f to your computer and use it in GitHub Desktop.

Select an option

Save nufeng1999/9d0877f60c07a4bccd0c01d5b8c70e2f to your computer and use it in GitHub Desktop.
[编译arm版本的git]编译arm版本的git #编译 #arm #git
CROSS_COMPILE=arm-linux AR="arm-linux-ar" RANLIB=arm-linux-ranlib CC=arm-linux-gcc LD=arm-linux-ld AS=arm-linux-as CXX=arm-linux-g++ ./configure --prefix=/root/gittools --target=arm-linux --host=arm-linux LDFLAGS="-L/arm-linux/lib" CFLAGS="-I/arm-linux/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment