@@ -18,7 +18,7 @@ a new bug report at GitHub Issues for this `toolchain` project.
1818
1919Within each branch there are points where the whole development has been put
2020through comprehensive release testing. These are marked using git * tags* , for
21- example ` arc-2014.12 ` for toolchain released in December 2014.
21+ example ` arc-2014.12 ` for tool chain released in December 2014.
2222
2323These tagged stable releases have been through full release testing, and known
2424issues are documented in a Synopsys release notes.
@@ -65,7 +65,7 @@ Getting sources
6565
6666If you use source tarball then it already contains all of the necessary sources
6767except for Linux which is a separate product. Linux sources are required only
68- for linux-uclibc tool chain, they are not required for baremetal elf32 tool
68+ for linux-uclibc tool chain, they are not required for bare metal elf32 tool
6969chain. Latest stable release from https://kernel.org/ is recommended, only
7070versions >= 3.9 are supported. Untar linux tarball to the directory named
7171` linux ` that is the sibling of this ` toolchain ` directory. For example:
@@ -121,7 +121,7 @@ branch):
121121
122122while to get latest release or release candidate:
123123
124- $ git checkout arc-4.8-stable
124+ $ git checkout arc-releases
125125
126126To get a specific release of GNU tool chain for example 2014.12:
127127
@@ -153,31 +153,39 @@ The most important options if `build-all.sh` are:
153153 moved to another system and used from the same location.
154154 * ` --no-elf32 ` and ` --no-uclibc ` - choose type of tool chain to build. By
155155 default both are built. Specify ` --no-uclibc ` if you intend to work
156- exclusively with baremetal applications, specify ` --no-elf32 ` of you intend
156+ exclusively with bare metal applications, specify ` --no-elf32 ` of you intend
157157 to work exclusively with Linux applications. Linux kernel is built with
158158 uClibc tool chain.
159159 * ` --no-multilib ` - do not build multilib standard libraries. Use it when you
160- are going to work exclusively with baremetal applications for ARC700 . This
160+ are going to work with bare metal applications for a particular core . This
161161 option does not affect uClibc tool chain.
162- * ` --cpu <cpu> ` - configure GNU tool chain to use specific core as a default choice
163- (when -mcpu= options is not passed to GCC). Default is arc700. Combined with
164- ` --no-multilib ` you can build GNU tool chain that support only one specific core
165- you need. Valid values include ` arc600 ` , ` arc700 ` , ` arcem ` and ` archs ` .
162+ * ` --cpu <cpu> ` - configure GNU tool chain to use specific core as a default
163+ choice (default core is a core for which GCC will compile for, when ` -mcpu= `
164+ option is not passed). Default is arc700 for both bare metal and Linux
165+ tool chains. Combined with ` --no-multilib ` you can build GNU tool chain that
166+ support only one specific core you need. Valid values include ` arc600 ` ,
167+ ` arc700 ` , ` arcem ` and ` archs ` , however ` arc600 ` and ` arcem ` are valid for
168+ bare metal tool chain only.
166169
167- Please consult head of the ` ./build-all.sh ` to get a full list of supported
168- options and their detailed descriptions.
170+ Please consult head of the ` ./build-all.sh ` file to get a full list of
171+ supported options and their detailed descriptions.
169172
170- ### Examples
173+ ### Build options examples
171174
172- Build default tool chain which supports every core:
175+ Build default tool chain, bare metal tool chain will support all ARC cores,
176+ while Linux tool chain will support ARC 700:
173177
174178 $ ./build-all.sh --install-dir $INSTALL_ROOT
175179
176- Build tool chain for Linux development:
180+ Build tool chain for ARC 700 Linux development:
177181
178182 $ ./build-all.sh --no-elf32 --install-dir $INSTALL_ROOT
179183
180- Build tool chain for EM cores (for example for EM Starter Kit):
184+ Build tool chain for ARC HS Linux development:
185+
186+ $ ./build-all.sh --no-elf32 --cpu archs --install-dir $INSTALL_ROOT
187+
188+ Build bare metal tool chain for EM cores (for example for EM Starter Kit):
181189
182190 $ ./build-all.sh --no-uclibc --install-dir $INSTALL_ROOT --cpu arcem --no-multilib
183191
0 commit comments