author | etisserant |
Wed, 29 Aug 2007 11:06:13 +0200 | |
changeset 55 | 8b7a21820737 |
parent 44 | 3fb449ba9a72 |
child 57 | db9cadaab2ea |
permissions | -rwxr-xr-x |
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 |
|
44 | 3 |
STFILE=$1 |
4 |
||
5 |
shift |
|
6 |
||
43 | 7 |
CFLAGS=$* |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
8 |
|
55
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
9 |
|
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
10 |
CC=gcc |
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
11 |
#CC=i686-mingw32-gcc |
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
12 |
|
44 | 13 |
../iec2cc $STFILE -I ../lib |
43 | 14 |
#2>/dev/null |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
15 |
|
55
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
16 |
$CC -I ../lib -c STD_RESSOURCE.c $CFLAGS |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
17 |
|
55
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
18 |
$CC -I ../lib -c STD_CONF.c $CFLAGS |
43 | 19 |
|
55
8b7a21820737
Started support for long long (LL suffix) 64 bit literals on 32 bit platforms (unfinished)
etisserant
parents:
44
diff
changeset
|
20 |
$CC -I ../lib main.c STD_CONF.o STD_RESSOURCE.o $CFLAGS -l rt -o test |