From 2971f432b0da0d787507ed098d5bbfd417d6f949 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 23 Jun 2019 10:21:53 +0800 Subject: fix tip and warn --- old/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'old/README.md') diff --git a/old/README.md b/old/README.md index 594da19f..c30d01b1 100644 --- a/old/README.md +++ b/old/README.md @@ -807,7 +807,7 @@ $ xmake f -p linux --sdk=/home/toolchains_sdkdir --bin=/usr/opt/bin $ xmake ``` -

+

Before v2.2.1 version, this parameter name is `--toolchains`, exists more ambiguous, so we changed to `--bin=` to set the bin directory.

@@ -839,7 +839,7 @@ $ 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`

@@ -853,7 +853,7 @@ $ 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`

@@ -867,7 +867,7 @@ $ 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`

@@ -881,7 +881,7 @@ $ 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`

@@ -895,7 +895,7 @@ $ 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`

@@ -909,7 +909,7 @@ $ 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`

-- cgit v1.2.3