diff options
| author | ruki <waruqi@gmail.com> | 2017-11-10 21:00:00 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2017-11-10 00:00:01 +0800 |
| commit | b293a24dcd69088f467d51262658f2346616036e (patch) | |
| tree | e3fd0ca1b2310bb2b0be0330f053850d513f09a8 /README.md | |
| parent | eadcb396b9aeff6fd90b098468e153431b4fc1c5 (diff) | |
| download | xmake-docs-b293a24dcd69088f467d51262658f2346616036e.tar.gz xmake-docs-b293a24dcd69088f467d51262658f2346616036e.zip | |
update docs and add del_files api
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -514,6 +514,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --as=armv7-linux-as If the 'AS' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --as=gcc@/home/xxx/asmips.exe` +</p> + ###### --cc - Set c compiler @@ -524,6 +528,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --cc=armv7-linux-clang If the 'CC' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --cc=gcc@/home/xxx/ccmips.exe` +</p> + ###### --cxx - Set `c++` compiler @@ -534,6 +542,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --cxx=armv7-linux-clang++ If the 'CXX' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --cxx=g++@/home/xxx/c++mips.exe` +</p> + ###### --ld - Set `c/c++/objc/asm` linker @@ -544,6 +556,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --ld=armv7-linux-clang++ If the 'LD' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-gcc/clang linker, .e.g `xmake f --ld=g++@/home/xxx/c++mips.exe` +</p> + ###### --sh - Set `c/c++/objc/asm` shared library linker @@ -554,6 +570,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --sh=armv7-linux-clang++ If the 'SH' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-gcc/clang linker, .e.g `xmake f --sh=g++@/home/xxx/c++mips.exe` +</p> + ###### --ar - Set `c/c++/objc/asm` static library archiver @@ -564,6 +584,10 @@ $ xmake f -p linux --sdk=/user/toolsdk --ar=armv7-linux-ar If the 'AR' environment variable exists, it will use the values specified in the current environment variables. +<p class="tips"> +We can set a unknown compiler as like-ar archiver, .e.g `xmake f --ar=ar@/home/xxx/armips.exe` +</p> + #### Global Configuration You can save to the global configuration for simplfying operation. |
