summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-06 22:50:38 +0800
committerruki <[email protected]>2024-02-06 22:50:38 +0800
commitb74097ad5fa27dd871ef4cdc6e342342eaca6192 (patch)
tree578fe67b6bd40611e156e61047f02df50fb1c394
parent78a1a52f425010571eda84ab1cefeb11d78c20c8 (diff)
update changelog and readme
-rw-r--r--CHANGELOG.md2
-rw-r--r--README.md93
-rw-r--r--README_zh.md1
-rw-r--r--tests/projects/c/cosmocc/console/test.lua8
4 files changed, 49 insertions, 55 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b3e289cb7..db29bdf36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
* [#4544](https://github.com/xmake-io/xmake/issues/4544): Support to wait process timeout for `xmake test`
* [#4606](https://github.com/xmake-io/xmake/pull/4606): Add `add_versionfiles` api in package
+* [#4709](https://github.com/xmake-io/xmake/issues/4709): Add cosmocc toolchain support
### Changes
@@ -1727,6 +1728,7 @@
* [#4544](https://github.com/xmake-io/xmake/issues/4544): 改进 `xmake test`,支持等待进程超时
* [#4606](https://github.com/xmake-io/xmake/pull/4606): 为 package 添加 `add_versionfiles` 接口
+* [#4709](https://github.com/xmake-io/xmake/issues/4709): 添加 cosmocc 工具链支持
### 改进
diff --git a/README.md b/README.md
index a5bd49156..57cfb13a8 100644
--- a/README.md
+++ b/README.md
@@ -197,53 +197,52 @@ $ xmake f --menu
## Supported toolchains
-### IDE-Tied
-
-* Xcode
-* MSVC (Microsoft Visual C compiler)
-* Android NDK
-
-### Languages
-
-* Zig
-* Go(lang)
-* Swift
-* Nim
-* Rust
-* GCC (GNU Compiler Collection)
-* Clang
-* TinyCC
-* icc (Intel C Compiler)
-* icpc (Intel C++ Compiler)
-* icx (Intel LLVM C/C++ Compiler)
-* Clang-CL (Clang Compatability with MSVC)
-* DPC++ (Intel LLVM C++ Compiler using SYCL)
-* MinGW (GNU for Windows)
-* C51 (Keil C Compiler for the 8051)
-* GNU-RM (GNU Arm Embedded Toolchain)
-* ArmCC (Keil C Compiler for Keil MKD Version 5)
-* Circle (New C++20 compiler)
-* WASI (C/C++ WebAssembly Toolchain)
-* ArmClang (Version 6 of the Keil MDK)
-* SDCC (Small Device C Compiler)
-* GDC (GNU D Compiler)
-* LDC (LLVM D Compiler)
-* DMD (Dlang)
-* FPC (Free Pascal Programming Language Compiler)
-* GFortran (GNU Fortran Compiler)
-* Ifort (Intel Fortran Compiler)
-* CUDA (nvcc, nvc, nvc++, nvfortran)
-* Emscripten
-* LLVM
-* Icarus Verilog
-* Verilator (SystemVerilog simulator and lint system)
-
-### Assemblers
-
-* FASM
-* NASM
-* YASM
-* MASM32 (Microsoft Macro Assembler 32-bit SDK)
+```bash
+$ xmake show -l toolchains
+xcode Xcode IDE
+msvc Microsoft Visual C/C++ Compiler
+clang-cl LLVM Clang C/C++ Compiler compatible with msvc
+yasm The Yasm Modular Assembler
+clang A C language family frontend for LLVM
+go Go Programming Language Compiler
+dlang D Programming Language Compiler (Auto)
+dmd D Programming Language Compiler
+ldc The LLVM-based D Compiler
+gdc The GNU D Compiler (GDC)
+gfortran GNU Fortran Programming Language Compiler
+zig Zig Programming Language Compiler
+sdcc Small Device C Compiler
+cuda CUDA Toolkit (nvcc, nvc, nvc++, nvfortran)
+ndk Android NDK
+rust Rust Programming Language Compiler
+swift Swift Programming Language Compiler
+llvm A collection of modular and reusable compiler and toolchain technologies
+cross Common cross compilation toolchain
+nasm NASM Assembler
+gcc GNU Compiler Collection
+mingw Minimalist GNU for Windows
+gnu-rm GNU Arm Embedded Toolchain
+envs Environment variables toolchain
+fasm Flat Assembler
+tinycc Tiny C Compiler
+emcc A toolchain for compiling to asm.js and WebAssembly
+icc Intel C/C++ Compiler
+ifort Intel Fortran Compiler
+muslcc The musl-based cross-compilation toolchain
+fpc Free Pascal Programming Language Compiler
+wasi WASI-enabled WebAssembly C/C++ toolchain
+nim Nim Programming Language Compiler
+circle A new C++20 compiler
+armcc ARM Compiler Version 5 of Keil MDK
+armclang ARM Compiler Version 6 of Keil MDK
+c51 Keil development tools for the 8051 Microcontroller Architecture
+icx Intel LLVM C/C++ Compiler
+dpcpp Intel LLVM C++ Compiler for data parallel programming model based on Khronos SYCL
+masm32 The MASM32 SDK
+iverilog Icarus Verilog
+verilator Verilator open-source SystemVerilog simulator and lint system
+cosmocc build-once run-anywhere
+```
## Supported languages
diff --git a/README_zh.md b/README_zh.md
index c5318a5ab..7efb052fa 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -303,6 +303,7 @@ dpcpp Intel LLVM C++ Compiler for data parallel programming model based
masm32 The MASM32 SDK
iverilog Icarus Verilog
verilator Verilator open-source SystemVerilog simulator and lint system
+cosmocc build-once run-anywhere
```
## 支持语言
diff --git a/tests/projects/c/cosmocc/console/test.lua b/tests/projects/c/cosmocc/console/test.lua
deleted file mode 100644
index d6ef2e8da..000000000
--- a/tests/projects/c/cosmocc/console/test.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-function main(t)
- if is_subhost("msys", "cygwin") then
- os.exec("xmake f -y -p windows -vD")
- os.exec("xmake -vD")
- elseif is_host("macosx", "linux") then
- os.exec("xmake -y -vD")
- end
-end