tests/build.sh
author etisserant
Fri, 13 Jul 2007 19:20:26 +0200
changeset 41 8998c8b24b60
child 43 37dd4e2fd2ec
permissions -rwxr-xr-x
First working IEC std lib test, actually test from string and to_string functions.
41
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     1
#!/bin/bash
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     2
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     3
../iec2cc STD_TEST.st -I ../lib
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     4
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     5
gcc -I ../lib -c -g STD_RESSOURCE.c
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     6
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     7
gcc -I ../lib -c  -g STD_CONF.c
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     8
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff changeset
     9
gcc -I ../lib main.c STD_CONF.o STD_RESSOURCE.o -g -l rt -o test