summaryrefslogtreecommitdiff
path: root/minie
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-02-12 07:40:16 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-02-12 07:40:16 +0100
commit8c2cd8a7e94a310cf5f9e2beb55ffe36f4f4fa13 (patch)
treec66ee21c633df55e73933da78010c1da81fca061 /minie
parent93cd4ea26f9dfc53d75d15a2458362ac25c42ac3 (diff)
downloadcompilertests-8c2cd8a7e94a310cf5f9e2beb55ffe36f4f4fa13.tar.gz
compilertests-8c2cd8a7e94a310cf5f9e2beb55ffe36f4f4fa13.tar.bz2
added some 32-bit build flags
Diffstat (limited to 'minie')
-rwxr-xr-xminie/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/minie/build.sh b/minie/build.sh
index 01bb579..5d7ccf6 100755
--- a/minie/build.sh
+++ b/minie/build.sh
@@ -3,9 +3,9 @@
set -e
gcc -m32 --stack-usage -g -O0 -Wall -pedantic -std=c89 -Wno-return-type -o e2c e2c.c
-tcc -g -O0 -m32 -o e2c e2c.c
-pcc -g -Wall -O0 -g -D__float128="long double" -o e2c e2c.c
-clang -g -O0 -Wall -pedantic -std=c89 -Wno-return-type -o e2c e2c.c
+tcc -m32 -g -O0 -o e2c e2c.c
+pcc -melf_i386 -g -Wall -O0 -g -D__float128="long double" -o e2c e2c.c
+clang -m32 -g -O0 -Wall -pedantic -std=c89 -Wno-return-type -o e2c e2c.c
./e2c < test1.e
set +e
./e2c < test2.e