Skip to content

Setting up the environment

Douwe De Bock edited this page Apr 3, 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

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 git@github.com: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