forked from tinyos/nesc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
24 lines (19 loc) · 1.01 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To build nesC: in this directory
./configure [--prefix=<where you want to install nesc]
make
To install:
make install
To install a nesC editor mode (currently, emacs, vim, kde):
Read <installdir>/lib/ncc/editor-modes/<your-editor-name>/readme.txt
To use nesC with TinyOS, you need to install the ncc, mig, etc TinyOS frontends
for nesC. These are found in the tools directory of the TinyOS source tree.
Please follow the installation directions you find there.
To use nesC with the Atmel AVR processors or the TI MSP processors you
need the avr-gcc and msp430-gcc packages, and the corresponding GNU
binutils (avr-binutils and msp430-binutils respectively).
You can use the patched versions of these binutils that allow $ in
symbol names, available from http://www.tinyos.net/dist-2.0.0 (check
http://www.tinyos.net/download.html to see if newer versions are
available), or you can pass the -fnesc-separator=__ option to nescc (ncc
if using TinyOS) to use __ rather than $ in generated code. See the
nescc man page for details.