Porting bld to linux

This commit is contained in:
Krzosa Karol
2024-01-05 13:03:04 +01:00
parent 7c9c337194
commit 84f8cb1596
9 changed files with 96 additions and 33 deletions

View File

@@ -2,15 +2,17 @@
mkdir build
cd build
set -e
gcc -o test_filesystem ../test/test_filesystem.c -Wno-write-strings
./test_filesystem
gcc -o test_array ../test/test_array.cpp -fno-exceptions -fno-rtti -Wno-write-strings
./test_array
gcc -o test_table ../test/test_table.cpp -fno-exceptions -fno-rtti -Wno-write-strings
./test_table
gcc -o compile_as_c ../test/main.c
./compile_as_c
gcc -o bld ../bld_main.cpp -fno-exceptions -fno-rtti -Wno-write-strings
cd ..
./build/bld
# gcc -o test_filesystem ../test/test_filesystem.c -Wno-write-strings
# ./test_filesystem
# gcc -o test_array ../test/test_array.cpp -fno-exceptions -fno-rtti -Wno-write-strings
# ./test_array
# gcc -o test_table ../test/test_table.cpp -fno-exceptions -fno-rtti -Wno-write-strings
# ./test_table
# gcc -o compile_as_c ../test/main.c
# ./compile_as_c
#-Wno-writable-strings
cd ..