aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2010-08-02 11:47:33 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2010-08-02 11:47:33 +0200
commit23fd3029193ddc9511763fa576e8ceb38a3580f3 (patch)
treefb618a84d602c97ce89ec9ee325f28ac3db81e6c
parentbd724ec9898538d74bd5e64571f14ccaca744cd9 (diff)
downloadcross-scripts-23fd3029193ddc9511763fa576e8ceb38a3580f3.tar.gz
cross-scripts-23fd3029193ddc9511763fa576e8ceb38a3580f3.zip
New readme
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a298968
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+These scripts create a cross-compiler toolchain in your $HOME/usr directory.
+This kind of cross-compiler is mostly useful for basic Operating System developpment.
+
+Included packages
+-----------------
+
+These scripts install the following things in the toolchain :
+* binutils (ld, ...)
+* gcc for C and C++
+
+Supported cross-compiling architectures
+---------------------------------------
+
+* x86 i586-elf
+* arm arm-elf
+
+The scripts for both architecture are very similar, feel free to adapt them to other architectures.
+
+Setting up the cross-compiler
+-----------------------------
+
+* Create a directory named `usr` in your home directory.
+* Add the following line to your .bashrc :
+ export PATH=$PATH:$HOME/usr/bin
+* Run cross-<arch>.sh for the architecture you target
+ Go on the internet and read some useless stuff, this step is long.
+
+The compiler is available as *-gcc and *-g++, where * is one of the prefixes listed above (ex: i586-elf-gcc).
+