/usr/bin/nescc-wiring is in nescc 1.3.5-1.1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh
prefix="/usr"
exec_prefix="${prefix}"
ncc_lib="${prefix}/lib/x86_64-linux-gnu/ncc"
if [ $# -ne 1 ]; then
echo "Usage: $0 <xml wiring file>"
exit 2
fi
# set class path to the nesC java code
CLASSPATH=$ncc_lib/nesc.jar
if cygpath -w / 2> /dev/null >/dev/null; then
# cygwin
CLASSPATH=`cygpath -w $CLASSPATH`
fi
export CLASSPATH
java net.tinyos.nesc.wiring.WiringCheck <$1
|