Difference between revisions of "Build the Toolchain"

From Rigol Homebrew Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
== Download and install the Rigol toolchain ==
  
== Preparations ==
+
Install git if needed:
  
Before you can install the toolchain, you need the following software packages
+
sudo apt-get install git 
 
 
* 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:
 
To get the latest version of the toolchain, simply checkout the appropriate git repository with the line:
Line 16: Line 9:
 
  git clone git://github.com/krater/rigol-toolchain.git
 
  git clone git://github.com/krater/rigol-toolchain.git
  
Switch to the resulting directory and start a make with
+
Switch to the resulting directory:
  
  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.

Latest revision as of 14:20, 26 June 2012

Download and install the Rigol toolchain

Install git if needed:

sudo apt-get install git  

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:

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