Permalink
Browse files

Update docs

  • Loading branch information...
1 parent 2ad2c60 commit 25ac742cf1dc6704ae560bd94f5addb7be61cf54 @jsnyder committed Jan 23, 2012
Showing with 15 additions and 12 deletions.
  1. +15 −12 README.md
View
@@ -76,25 +76,28 @@ by building using the following type of invokation:
PREFIX=$HOME/arm-cs-tools make install-cross
```
-By default the build attempts to use up to 4 parallel tasks, you can
-adjust this behavior by redefining PROCS:
+By default the build attempts to determine the number of CPUs and sets
+the number of parallel jobs automatically (Linux & OS X). If you're on
+another platform or want to use a different number of jobs, you can
+redefine PROCS:
```bash
PROCS=8 make install-cross
```
*NOTE:* If you are on Mac OS X and are running XCode 4.1 or a similar
- version you may find that it will fail during the build of libgcc as
- discussed in issue #10. To work around this, build using using these
- two commands instead of the above:
+ version and are trying to build 2011.03 or an earlier version of
+ CodeSourcery's sources, you may find that it will fail during the
+ build of libgcc as discussed in issue #10. To work around this,
+ build using using these two commands instead of the above:
```bash
CC=clang make cross-binutils cross-gcc cross-newlib
make cross-gdb
```
-or you can build the entire toolchain with gcc-4.2:
+or with gcc-4.2:
```bash
CC=gcc-4.2 make install-cross
@@ -149,20 +152,20 @@ hand-coded assembler that compiles to sizes larger than a simple C
implementation.
-If you want the standard options that CodeSourcery uses when building
-Newlib, which are as follows:
+If you want something closer to standard options that CodeSourcery
+uses simply prepend the make command as follows:
```bash
-CFLAGS_FOR_TARGET="-g -O2 -fno-unroll-loops"
+MATCH_CS=false make install-cross
```
-Simply prepend the make command as follows:
+For Newlib this changes the flags to these:
```bash
-MATCH_CS=false make install-cross
+CFLAGS_FOR_TARGET="-g -O2 -fno-unroll-loops"
```
-or define your own Newlib flags:
+You can also define your own Newlib flags:
```bash
NEWLIB_FLAGS="-g -O2 -fno-unroll-loops" make install-cross

0 comments on commit 25ac742

Please sign in to comment.