Open main menu

DAVE Developer's Wiki β

Changes

Building the SDK
=== Preparing the building environment ===
* Ubuntu cross-toolchain for ARM has to be installed, using <code>apt-get</code>
sudo apt-get install git python3 curl xz-utils sudo apt-get install gcc-arm-linux-gnueabihf g++-9-arm-linux-gnueabihf gcc-multilib sudo apt-get install g++-arm-linux-gnueabihf g++-multilib  
=== Building the SDK ===
The git repository from Google source can be cloned
fetch dart
</pre>
* now it is possible to checkout the <code>master</code> branch
git checkout master
* then, the <code>linux</code> target can be selected and synced
<pre class="workstation-terminal">
''You can also produce only a Dart VM runtime, no SDK, by replacing create_sdk with runtime. This process involves also building a VM that targets ia32/x64, which is used to generate a few parts of the SDK''
 
== Installing the SDK in the target ==
Once the SDK image has been created, it is possible to create an archive and copy it in the target (for example using ''scp'' or ''ftp''):
8,243
edits