Changes between Version 25 and Version 26 of Developer/Tools/RSB


Ignore:
Timestamp:
Dec 26, 2015, 5:10:00 PM (22 months ago)
Author:
George White
Comment:

Reformatted the page somewhat, and added instructions for Arch Linux users.

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Tools/RSB

    v25 v26  
    11= RTEMS Source Builder =
    22
    3 [[TOC(Developer/Tools/RSB, depth=2)]]
     3[[TOC(Developer/Tools/RSB, depth=3)]]
    44
    55The RTEMS Source Builder or RSB builds RTEMS tool sets for a range of hosts from source. It is an easy to use tool complete with [https://docs.rtems.org/rsb documentation] that gives you a ready to use RTEMS tool set for your architecture. It is actively being maintained so you get a current tool set that works with RTEMS releases as well as RTEMS's development branches.
     
    3333== Supported Hosts ==
    3434
    35 * Archlinux
    36 * Centos
     35=== Linux distributions ===
     36* Ubuntu (and its official derivatives)
     37* Debian (if using Debian 8, see [#CentOS7andDebian8Jessie these notes])
     38* Arch Linux (a Python 2 virtual environment may need to be set up, see [#ArchLinuxsettingupaPython2virtualenvironment this section])
     39* CentOS (if using CentOS 7, see [#CentOS7andDebian8Jessie these notes])
    3740* Fedora
    38 * FreeBSD
    39 * NetBSD
    40 * MacOS
    4141* Linux Mint
    4242* openSUSE
    4343* Raspbian
    44 * Ubuntu
    45 * Windows (MSYS2)
    46 * Xubuntu
    4744
    48 == CentOS 7 and Debian 8 (Jessie) - Building Notes ==
     45=== BSD (and similar) ===
     46* FreeBSD
     47* NetBSD
     48* Mac OS X
     49
     50=== Other ===
     51* Windows (using MSYS2)
     52
     53== Host operating system specific notes ==
     54
     55=== CentOS 7 and Debian 8 (Jessie) ===
    4956
    5057The note below is valid if you plan to generate the tools for RTEMS 4.10 on CentOS 7 or Debian 8 (Jessie) using RTEMS Source Builder 0.5.0.
     
    6673You are now ready to re-run RSB with 4.10/rtems-[your-favorite-arch].
    6774
     75=== Arch Linux – setting up a Python 2 virtual environment ===
     76In modern versions of Arch Linux, `python` is now a shortcut to `python3` from the `python` package. RSB will not function in Python 3, but you can set up a virtual environment for RSP with Python 2.
     77
     78At a root terminal, install `python2-virtualenv` with `pacman`.
     79{{{
     80# pacman -S python2-virtualenv
     81}}}
     82
     83Leave root and return to the user that you will be using to build RTEMS.
     84
     85Change to a directory which you have permissions for where you wish the virtual environment to be set up, and create it by using the `virtualenv2` command, like so:
     86{{{
     87$ cd development/rtems/rsb
     88$ virtualenv2 venv
     89}}}
     90
     91where ''venv'' is the folder that will be created with the environment set up inside.
     92
     93Activate it, and you should see the name of the virtual environment added to the prompt (PS1 variable):
     94{{{
     95$ source venv/bin/activate
     96(venv)$
     97}}}
     98
     99You can now continue to follow the build instructions.