This is a recipe for reproducibly building a LLVM/Clang/LLD based mingw-w64 toolchain.
Benefits of a LLVM based MinGW toolchain are:
- Support for targeting ARM/ARM64 (while GCC obviously does support these architectures, it doesn't support Windows on ARM)
- A single toolchain targeting all four architectures (i686, x86_64, armv7 and arm64) instead of separate compiler binaries for each architecture
- Support for generating debug info in PDB format
- Support for Address Sanitizer and Undefined Behaviour Sanitizer
- Since LLVM 16: Support for Control Flow Guard (-mguard=cf compile and link flags)
Clang on its own can also be used as compiler in the normal GNU binutils based environments though, so the main difference lies in replacing binutils with LLVM based tools.
ထုတ်ဝေသူ၏ ဖော်ပြချက် (အင်္ဂလိပ်)
LLVM MinGW (UCRT runtime) ဆိုတာ ဘာလဲ
LLVM MinGW (UCRT runtime) သည် Martin Storsjö ထုတ်ဝေသော Windows အတွက် ပွင့်လင်းရင်းမြစ် Programming language နှင့် SDK အမျိုးအစား ပရိုဂရမ် ဖြစ်ပါသည်။ C ဖြင့် ရေးသားထားပါသည်။
ထည့်သွင်းခြင်းနှင့် လိုအပ်ချက်များ
တရားဝင် installer များကို 64-bit၊ ARM64၊ 32-bit နှင့် ARM အတွက် Portable ပုံစံဖြင့် ရနိုင်ပါသည်။ ထည့်သွင်းစရာမလိုဘဲ တိုက်ရိုက် run နိုင်ပါသည် (portable)။
အပ်ဒိတ်များနှင့် ဗားရှင်းမှတ်တမ်း
နောက်ဆုံးဗားရှင်းမှာ 23.1.4-20261020 ဖြစ်ပါသည် (၂၀၂၆ အောက်တိုဘာ ၂၁ တွင် ထုတ်ဝေ)။ ၂၀၂၄ ဒီဇင်ဘာ ၃ မှစ၍ ဗားရှင်း ၃၅ ခုကို စာရင်းပြုထားပြီး တစ်ခုစီတွင် ကိုယ်ပိုင် installer ဖိုင်လင့်ခ်များ ပါဝင်ပါသည်။ ဆိုလိုသည်မှာ တစ်နှစ်လျှင် ထုတ်ဝေမှု ၁၉ ခုခန့် ဖြစ်ပါသည်။ နောက်ဆုံးအပ်ဒိတ်သည် တစ်လမပြည့်သေးပါ။
လူကြိုက်များမှုနှင့် ဖိုင်အမျိုးအစားများ
GitHub ပေါ်ရှိ source code (mstorsjo/llvm-mingw) တွင် ကြယ် ၃,၀၀၂ ပွင့် ရှိပါသည်။ ဆင်တူသော ပရိုဂရမ်များတွင် Go Programming Language၊ LLVM နှင့် CMake ပါဝင်ပါသည်။
GitHub ပေါ်ရှိ ပရောဂျက်ဖော်ပြချက်: “An LLVM/Clang/LLD based mingw-w64 toolchain”
အားသာချက်များ / အားနည်းချက်များ
အားသာချက်များ
- ပွင့်လင်းရင်းမြစ် - code ကို မည်သူမဆို စစ်ဆေး၍ build လုပ်နိုင်သည်
- Windows on Arm အတွက် native ARM64 build ရှိသည်
- Portable - ထည့်သွင်းစရာမလိုဘဲ run နိုင်သည်
- မကြာခဏ အပ်ဒိတ်ထွက်သည် (တစ်နှစ်လျှင် ၁၉ ခုခန့်)
အတိုချုပ်: LLVM MinGW (UCRT runtime) သည် 64-bit၊ ARM64၊ 32-bit နှင့် ARM ကွန်ပျူတာများအတွက် ပွင့်လင်းရင်းမြစ် Programming language နှင့် SDK ကိရိယာ ဖြစ်ပါသည်။ တက်ကြွစွာ ထိန်းသိမ်းနေဆဲ ဖြစ်ပါသည်။
LLVM MinGW (UCRT runtime) ကို ဒေါင်းလုဒ်လုပ်ရန် လုံခြုံပါသလား
- ဖိုင်ကို ထုတ်ဝေသူ၏ ကိုယ်ပိုင်ဒိုမိန်း github.com မှ ပေးပို့ပါသည်
- ဒေါင်းလုဒ်လင့်ခ်သည် HTTPS ကို အသုံးပြုပါသည်
- SHA256 hash ထုတ်ပြန်ထားသဖြင့် ဖိုင်ကို စစ်ဆေးနိုင်ပါသည်:
FD5462B7F5D93B2FF981FCD3F9C7E427E47F3203C64EA91C27BCC444EEBD74CD· ဤ hash ၏ VirusTotal အစီရင်ခံစာကို ဖွင့်ပါ - လင့်ခ်ကို မစစ်ဆေးရသေးပါ
- Source code ကို အများပြည်သူ ကြည့်နိုင်ပါသည်
- ExeAtlas သည် installer များကို မသိမ်းဆည်း၊ မထုပ်ပိုး၊ မပြင်ဆင်ပါ
ဆက်စပ် လမ်းညွှန်: Windows တွင် ဖိုင်၏ SHA256 hash စစ်ဆေးနည်း
လုံခြုံရေး အလေ့အကျင့်များ (OpenSSF Scorecard)
GitHub ပေါ်ရှိ mstorsjo/llvm-mingw repository ကို Open Source Security Foundation က အလိုအလျောက် စစ်ဆေးထားခြင်း ဖြစ်ပါသည်။ နောက်ဆုံးစစ်ဆေးသည့်နေ့ - ၂၀၂၆ အောက်တိုဘာ ၁၉။
- တက်ကြွစွာ ထိန်းသိမ်းနေ၁၀
- Repository ထဲ binary ဖိုင် မရှိ၁၀
- အန္တရာယ်ရှိသော workflow မရှိ၁၀
- ထုတ်ဝေထားသော package များ၁၀
- လိုင်စင် ကြေညာထား၉
- Code review၀
- ကန့်သတ်ထားသော token ခွင့်ပြုချက်၀
- Static code analysis၀
- OpenSSF Best Practices တံဆိပ်၀
- Fuzzing၀
- Pin လုပ်ထားသော dependency များ၀
- Branch ကာကွယ်မှု၀
- လုံခြုံရေးမူဝါဒ၀
- လက်မှတ်ထိုးထားသော release များ၀
ဤအမှတ်သည် ပရောဂျက်ကို ဖန်တီးပုံနှင့် ထုတ်ဝေပုံကို အကဲဖြတ်ခြင်းဖြစ်ပြီး ပရိုဂရမ်ကို ထည့်သွင်းရန် လုံခြုံမလုံခြုံကို ပြောခြင်း မဟုတ်ပါ။ scorecard.dev
မကြာသေးမီ ဗားရှင်းများ
ဗားရှင်း ၃၅ ခုလုံး ›၂ နှစ်အတွင်း ဗားရှင်း ၃၅ ခု · တစ်နှစ်လျှင် ၁၉ ခုခန့်
| ဗားရှင်း | ရက်စွဲ | အရွယ်အစား | ဖိုင်များ |
|---|---|---|---|
| 23.1.4-20261020နောက်ဆုံး | ၂၀၂၆ အောက်တိုဘာ ၂၁ | — | 64-bit ZIPARM ZIPARM64 ZIP32-bit ZIP |
| 23.1.3-20261006 | ၂၀၂၆ အောက်တိုဘာ ၇ | — | 32-bit ZIPARM ZIP64-bit ZIPARM64 ZIP |
| 23.1.2-20260922 | ၂၀၂၆ စက်တင်ဘာ ၂၂ | — | ARM64 ZIP32-bit ZIP64-bit ZIPARM ZIP |
| 23.1.1-20260908 | ၂၀၂၆ စက်တင်ဘာ ၈ | — | 32-bit ZIPARM64 ZIPARM ZIP64-bit ZIP |
| 23.1.0-20260826 | ၂၀၂၆ ဩဂုတ် ၂၆ | — | 32-bit ZIPARM ZIPARM64 ZIP64-bit ZIP |
| 22.1.8-20260616 | ၂၀၂၆ ဇွန် ၁၇ | — | 32-bit ZIP64-bit ZIPARM ZIPARM64 ZIP |
| 22.1.7-20260602 | ၂၀၂၆ ဇွန် ၂ | — | 32-bit ZIPARM64 ZIPARM ZIP64-bit ZIP |
| 22.1.6-20260519 | ၂၀၂၆ မေ ၁၉ | — | ARM ZIPARM64 ZIP64-bit ZIP32-bit ZIP |
Command line မှ ထည့်သွင်းခြင်း
အသံတိတ်ထည့်သွင်းခြင်း ›winget install --id MartinStorsjo.LLVM-MinGW.UCRT -eပရိုဂရမ်ဖိုင်များ (.exe): c++.exe, clang.exe, clang-format.exe, clang-tidy.exe, clangd.exe, g++.exe, gcc.exe, ld.exe, lldb.exe
ဆက်စပ် လမ်းညွှန်: winget အသုံးပြုနည်း - ပရိုဂရမ် ထည့်သွင်းခြင်းနှင့် အပ်ဒိတ်
အချက်အလက်
- ထုတ်ဝေသူ
- Martin Storsjö
- အမျိုးအစား
- Programming language နှင့် SDK
- လိုင်စင်
- ISC
- စျေးနှုန်း
- အခမဲ့
- Source code
- github.com/mstorsjo/llvm-mingw
- ရေးသားထားသည့် ဘာသာ
- C
- လိုအပ်ချက်
- Windows 11 / 10
- Architecture
- 64-bit, ARM64, 32-bit, ARM
- Installer အမျိုးအစား
- Portable
- ဗားရှင်း
- 23.1.4-20261020
- ထုတ်ဝေသည့်နေ့
- ၂၀၂၆ အောက်တိုဘာ ၂၁
- စာရင်းထဲ ထည့်သည့်နေ့
- ၂၀၂၄ ဒီဇင်ဘာ ၁၉
- စာရင်းရှိ ဗားရှင်းများ
- 35
- တစ်နှစ်လျှင် အပ်ဒိတ်
- ၁၈.၆
- GitHub ကြယ်
- ၃,၀၀၂
- GitHub fork များ
- ၂၇၄
- ဝဘ်ဆိုက်
- github.com
- winget ID
- MartinStorsjo.LLVM-MinGW.UCRT
အဆင့်သတ်မှတ်ချက်နှင့် သုံးသပ်ချက်များ
သုံးသပ်ချက် မရှိသေးပါ။ ပထမဆုံး အဆင့်သတ်မှတ်သူ ဖြစ်လိုက်ပါ။
LLVM MinGW (UCRT runtime) အစားထိုးပရိုဂရမ်များ
အားလုံးကြည့်ရန် ›-
ပွင့်လင်းရင်းမြစ် (open source)၂.၁ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၂.၈ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၃.၇ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၂.၅ သိန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၂.၂ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၁.၉ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၁.၄ သန်း ↓ -
ပွင့်လင်းရင်းမြစ် (open source)၂.၆ သိန်း ↓
မေးလေ့ရှိသောမေးခွန်းများ
LLVM MinGW (UCRT runtime) သည် အခမဲ့လား
ဟုတ်ပါသည်။ LLVM MinGW (UCRT runtime) သည် ပွင့်လင်းရင်းမြစ် ဆော့ဖ်ဝဲ ဖြစ်ပါသည် (ISC လိုင်စင်)။
LLVM MinGW (UCRT runtime) ကို ဒေါင်းလုဒ်လုပ်ရန် လုံခြုံပါသလား
ဒေါင်းလုဒ်ကို github.com (ထုတ်ဝေသူပိုင်) မှ ရယူပါသည်။ ExeAtlas သည် ဖိုင်ကို မသိမ်းဆည်း၊ မပြောင်းလဲပါ။ ဖိုင်၏ SHA256 hash ကို ဤနေရာတွင် ပြထားသော hash နှင့် နှိုင်းယှဉ်ပါ သို့မဟုတ် ထို hash ၏ VirusTotal အစီရင်ခံစာကို ဖွင့်ကြည့်ပါ။
LLVM MinGW (UCRT runtime) ကို winget ဖြင့် ဘယ်လို ထည့်သွင်းရမလဲ
PowerShell သို့မဟုတ် Windows Terminal ကို ဖွင့်ပြီး ဤစာမျက်နှာရှိ winget command ကို run ပါ။ winget သည် တရားဝင် installer ကို ဒေါင်းလုဒ်လုပ်ပြီး မ run မီ ၎င်း၏ SHA256 hash ကို စစ်ဆေးပါသည်။
LLVM MinGW (UCRT runtime) သည် ARM (Windows on Arm) တွင် အလုပ်လုပ်ပါသလား
လုပ်ပါသည်။ Native ARM64 installer ရှိပါသည်။
LLVM MinGW (UCRT runtime) ဗားရှင်းဟောင်းကို ဘယ်မှာ ဒေါင်းလုဒ်လုပ်ရမလဲ
ဗားရှင်းများ စာမျက်နှာတွင် ဗားရှင်း ၃၅ ခုလုံးကို ၂၀၂၄ ဒီဇင်ဘာ ၃ အထိ တရားဝင် installer ဖိုင်လင့်ခ်များနှင့်အတူ စာရင်းပြုထားပါသည်။
LLVM MinGW (UCRT runtime) ကို Administrator ခွင့်မပါဘဲ သုံးနိုင်ပါသလား
သုံးနိုင်ပါသည်။ Portable ဖြစ်သဖြင့် ဖြည်ပြီး run ရုံသာ ဖြစ်ပါသည်။
LLVM MinGW (UCRT runtime) အစား ဘာတွေ သုံးနိုင်သလဲ
Go Programming Language၊ LLVM၊ CMake၊ Deno နှင့် Ccache။ အစားထိုးပရိုဂရမ်များ စာမျက်နှာတွင် ၎င်းတို့ကို နှိုင်းယှဉ်ထားပါသည်။