We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce307e commit 6cda938Copy full SHA for 6cda938
build-linux.sh
@@ -1,6 +1,9 @@
1
#!/bin/bash
2
+# 32-bit
3
gcc -O0 -m32 -pthread *.c -o simplebench32-linux -lm &&
4
chmod +x simplebench32-linux &&
5
+# 64-bit
6
gcc -O0 -pthread *.c -o simplebench-linux -lm &&
7
chmod +x simplebench-linux &&
8
+
9
echo "Done!"
build-windows.sh
@@ -1,3 +1,7 @@
+i686-w64-mingw32-gcc -O0 *.c -o simplebench32-windows.exe &&
x86_64-w64-mingw32-gcc -O0 *.c -o simplebench-windows.exe &&
-i686-w64-mingw32-gcc -O0 *.c -o simplebench32-windows.exe
+echo "Done!"
0 commit comments