From b293a24dcd69088f467d51262658f2346616036e Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 10 Nov 2017 21:00:00 +0800 Subject: update docs and add del_files api --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 73e28fa1..7a4f980c 100644 --- a/README.md +++ b/README.md @@ -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. +

+We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --as=gcc@/home/xxx/asmips.exe` +

+ ###### --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. +

+We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --cc=gcc@/home/xxx/ccmips.exe` +

+ ###### --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. +

+We can set a unknown compiler as like-gcc/clang compiler, .e.g `xmake f --cxx=g++@/home/xxx/c++mips.exe` +

+ ###### --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. +

+We can set a unknown compiler as like-gcc/clang linker, .e.g `xmake f --ld=g++@/home/xxx/c++mips.exe` +

+ ###### --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. +

+We can set a unknown compiler as like-gcc/clang linker, .e.g `xmake f --sh=g++@/home/xxx/c++mips.exe` +

+ ###### --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. +

+We can set a unknown compiler as like-ar archiver, .e.g `xmake f --ar=ar@/home/xxx/armips.exe` +

+ #### Global Configuration You can save to the global configuration for simplfying operation. -- cgit v1.2.3