development_cygwin

문서의 이전 판입니다!


A large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.

modify CYGWIN_HOME\Cygwin.bat

@echo off
set CYGWIN_ROOT=D:\cygwin64
set HOME=D:\cygwin_home
set DISPLAY=127.0.0.1:0.0

D:
chdir D:\cygwin64\bin

REM bash --login -i
start D:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

in cygwin terminal

cd $NDK_ROOT/build/tools

 ./make-standalone-toolchain.sh --platform=android-9 --install-dir=/development/android-toolchian --toolchain=x86-4.8 --ndk-dir=../../ --system=windows-x86_64

You can later use it directly with something like

    export PATH=/tmp/my-android-toolchain/bin:$PATH
    export CC=arm-linux-androideabi-gcc   # or export CC=clang
    export CXX=arm-linux-androideabi-g++  # or export CXX=clang++
  • development_cygwin.1399443985.txt.gz
  • 마지막으로 수정됨: 2020/09/25 10:12
  • (바깥 편집)