Difference between revisions of "Build the Toolchain"

From Rigol Homebrew Wiki
Jump to: navigation, search
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 ==
 
== Download and install the Rigol toolchain ==
  
Line 18: Line 7:
 
Switch to the resulting directory and start a make with
 
Switch to the resulting directory and start a make with
  
  cd rigol-toolchain;make
+
  cd rigol-toolchain
  
If this works without errors and warnings you can install the toolchain with
+
Execute the install script, this will install all required packages and install the tool chain on your system.
  
  sudo make install
+
  ./install.sh
  
 
<br>Now you are prepared for [[Patch_your_Firmware|patching your firmware]] and building the examples.
 
<br>Now you are prepared for [[Patch_your_Firmware|patching your firmware]] and building the examples.

Revision as of 13:05, 26 June 2012

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

Execute the install script, this will install all required packages and install the tool chain on your system.

./install.sh


Now you are prepared for patching your firmware and building the examples.



Next step: Patch_your_Firmware