Installing the C and C++ Compiler

Linux Users

Open the Terminal to use this program. The ARM cross compiler program can be downloaded from this link or using the command:

wget -c

Create a directory that will contain the program:

mkdir CodeSourcery

Uncompress the compiler installation file using:

tar -jxvf ~/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C ~/CodeSourcery/

Add the compiler path using:

echo export PATH=~/CodeSourcery/arm-2009q1/bin/:$PATH >> ~/.bashrc && . ~/.bashrc

Windows Users

Download the ARM cross compiler from:

Install the program in the local hard drive (e.g. c:\CodeSourcery) and add the compiler path to the system.

Download  the Windows version of the make and rm programs in the computer. A copy of these programs can be found here. Uncompress them in a local directory (e.g. c:\tools ).

In order to communicate and being able to transfer data and programs to the brick, we need to  install a telnet, a ssh and a scp client programs. I have tested PuTTy, (telnet and ssh clients) and PSCP (scp client). After downloading these programs, place the executable files in the local hard drive (e.g. c:\tools).

Add the path of the recently installed programs (c:\tools) to the system.

Finally, you need to install a text editor to edit your programs (e.g. notepad++, vim).

With all these tools, we should be able to use most of the command line instructions provided to Linux users.

There is and Integrated Development Environment (IDE) available at Bricxcc, which allows compiling and downloading programs to the EV3 brick. Unfortunately it has not been updated since 2013. Users interested in using this program can look at the readme_1st.txt file for instructions on how to install it and use it. I have included some instructions of how to use this program in this web site for completeness purposes only. I encourage readers to use  become familiar with the command line instructions.

Mac Users
The ARM cross-compiler can be downloaded from:

After installing the program, you need to add the compiler path, this can be done using:

echo export PATH=/usr/local/carlson-minot/crosscompilers/bin/:$PATH >> ~/.bash_profile && . ~/.bash_profile

Mac users can refer to the Linux tutorials for further information.

Next >> Setup WiFi