diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2010-08-02 11:38:41 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2010-08-02 11:38:41 +0200 |
commit | bd724ec9898538d74bd5e64571f14ccaca744cd9 (patch) | |
tree | f58bdf66e21254344f0a842541027254b7a5dfae /README | |
parent | 3953782e2c890e403c1d34276695478c87d74013 (diff) | |
download | cross-scripts-bd724ec9898538d74bd5e64571f14ccaca744cd9.tar.gz cross-scripts-bd724ec9898538d74bd5e64571f14ccaca744cd9.zip |
Added a README.
Diffstat (limited to 'README')
-rw-r--r-- | README | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +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++ + +== 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. + +== SUPPORTED CROSS-COMPILING ARCHITECTURES == + + ARCH PREFIX +- x86 i586-elf +- arm arm-elf + +== USING THE CROSS-COMPILER == + +The compiler is available as *-gcc and *-g++, where * is one of the prefixes listed above (ex: i586-elf-gcc). |