Difference between revisions of "Build the Toolchain"
From Rigol Homebrew Wiki
Line 1: | Line 1: | ||
− | |||
− | + | == Preparations == | |
− | |||
− | + | Before you can install the toolchain, you need the following software packages | |
+ | * Build Essentials (make,...) | ||
+ | * GNU C++ Compiler | ||
+ | * [http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing Blackfin Cross Compiler Toolchain (bfin-uclinux-xxx)] | ||
+ | * Git or wget+tar+gzip, according to how you want to download the toolchain-package | ||
+ | == Download and install the Rigol toolchain == | ||
− | + | To get the latest version of the toolchain, simply checkout the appropriate git repository with the line: | |
+ | git clone git://github.com/krater/rigol-toolchain.git | ||
− | + | Switch to the resulting directory and start a make with | |
+ | cd rigol-toolchain;make | ||
− | + | If this works without errors and warnings you can install the toolchain with | |
− | + | sudo make install | |
+ | <br>Now you are prepared for [[Patch_your_Firmware|patching your firmware]] and building the examples. | ||
− | |||
− | + | Next step: [[Patch_your_Firmware]] |
Revision as of 05:35, 24 December 2011
Preparations
Before you can install the toolchain, you need the following software packages
- Build Essentials (make,...)
- GNU C++ Compiler
- Blackfin Cross Compiler Toolchain (bfin-uclinux-xxx)
- Git or wget+tar+gzip, according to how you want to download the toolchain-package
Download and install the Rigol toolchain
To get the latest version of the toolchain, simply checkout the appropriate git repository with the line:
git clone git://github.com/krater/rigol-toolchain.git
Switch to the resulting directory and start a make with
cd rigol-toolchain;make
If this works without errors and warnings you can install the toolchain with
sudo make install
Now you are prepared for patching your firmware and building the examples.
Next step: Patch_your_Firmware