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 --- guide/configuration.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'guide') diff --git a/guide/configuration.md b/guide/configuration.md index fef1ad8f..baca8055 100644 --- a/guide/configuration.md +++ b/guide/configuration.md @@ -195,7 +195,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.

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

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

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

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

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

@@ -297,7 +297,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