Skip to content

Scripts to build GCC/Cross-GCC, Clang/LLVM, and QEMU on Cygwin and MSYS2/MinGW

Notifications You must be signed in to change notification settings

xu-chiheng/Note

Repository files navigation

These are the scripts I used to build GCC/Cross-GCC, Clang/LLVM, and QEMU on Cygwin and MSYS2/MinGW.

The scripts are started by bash -i, they will source the ~/.bashrc file at startup, so they can use the convenient bash functions defined there.

QEMU can only be built on MSYS2/MinGW.

Set the following Windows environment variables :
CYGWIN_DIR=D:\cygwin64
MSYS2_DIR=D:\msys64
VS2022_DIR=C:\Program Files\Microsoft Visual Studio\2022\Enterprise
VCPKG_DIR=D:\vcpkg
HOME=%USERPROFILE%

I also use one of the following commands to make a link, this is optional.
ln -s ~ "$(cygpath -u 'E:\Note')"
mklink /D E:\Note %USERPROFILE%
ln -s ~ /mnt/work/Note

About

Scripts to build GCC/Cross-GCC, Clang/LLVM, and QEMU on Cygwin and MSYS2/MinGW

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published