Installation - mszczodrak/swift-fox GitHub Wiki
Swift Fox is the programming language that allows to program logic specifying when and how Fennec Fox stack should be reconfigured. Swift Fox is a compiler in itself, but before we can use it we need to compile it from a source code.
Prerequisites
When compiling to the firmware image that is loaded into a mote, Swift Fox invokes the compilation of the underlying embedded OS. Since Swift Fox right now supports only TinyOS, that requires to install TinyOS before installing Swift Fox.
Before the Swift Fox installation, please make sure that Fennec Fox is also installed.
Swift Fox source code relies on the following tools that should be available in the system: lex and yacc. Before we install Swift Fox, we need to install these tools. For example, in Ubuntu the same tools have different names and can be installed in the following way:
sudo apt-get install bison flex
Installation from Git
Then clone this repository:
git clone [email protected]:mszczodrak/swift-fox.git
cd swift-fox
./Bootstrap
./configure
make
sudo make install
After this, the following programs should run from the shell:
$ sfc
$ fennec