Difference between revisions of "Build the Toolchain"

From Rigol Homebrew Wiki
Jump to: navigation, search
Line 1: Line 1:
Sorry, not complete yet...
 
  
Download the Toolchain from
+
== Preparations ==
https://github.com/krater/rigol-toolchain
 
  
and follow the instructions in the README file...
+
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
  
build essentials + git
+
Switch to the resulting directory and start a make with
  
 +
cd rigol-toolchain;make
  
== Installing the Blackfin toolchain ==
+
If this works without errors and warnings you can install the toolchain with
  
Just follow the instructions [http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing here] to install the bfin-uclinux package.
+
sudo make install
  
 +
<br>Now you are prepared for [[Patch_your_Firmware|patching your firmware]] and building the examples.
  
  
== Download and install Rigol toolchain ==
 
  
  
  
Then: [[Patch_your_Firmware]]
+
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


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