Skip to content

Setting up the environment

Eline Vanrykel edited this page Oct 12, 2015 · 16 revisions

Prerequisite packages

Please make sure you have the latest version of the following two packages installed on your OS:

  • git (to download the picoTCP repository)
  • check (to run the unit tests)

e.g. for Ubuntu 14.04:

sudo apt-get install git
sudo apt-get install check

e.g. for Fedora:

sudo dnf install git
sudo dnf install check-devel
sudo dnf install libasan.x86_64

Get picoTCP

The picoTCP source code is hosted on GitHub at https://github.com/tass-belgium/picotcp. The easiest way to get a hold of a copy is to use Git and make a clone:

$ git clone https://github.com/tass-belgium/picotcp

Or if you have a github account setup with a ssh public key (recommended):

$ git clone [email protected]:tass-belgium/picotcp.git

Building picoTCP

Make sure you are in the picoTCP directory and compile picoTCP with:

$ make

You should now have the picoTCP library (libpicotcp.a) statically compiled for your own machine’s architecture under picotcp/build/lib.

Clone this wiki locally