diff --git a/.gitignore b/.gitignore index 11fc1e5..8e5ef72 100644 --- a/.gitignore +++ b/.gitignore @@ -399,5 +399,13 @@ FodyWeavers.xsd # JetBrains Rider *.sln.iml + /gcc-build/build freesprite/temp.bin +gcc-build/*.so +*.a +gcc-build/libpng16.so.16 +gcc-build/libSDL2-2.0.so.0 +gcc-build/libSDL2_image-2.0.so.0 +gcc-build/libSDL2_ttf-2.0.so.0 +gcc-build/libz.so.1 diff --git a/gcc-build/build_linux.sh b/gcc-build/build_linux.sh index fdcaaaa..9e2d921 100755 --- a/gcc-build/build_linux.sh +++ b/gcc-build/build_linux.sh @@ -1,4 +1,4 @@ #!/bin/bash mkdir build -g++-13 ../freesprite/*.cpp ../freesprite/pugixml/*.cpp ../freesprite/zip/*.c ../freesprite/easybmp/*.cpp ../freesprite/astc_dec/*.cpp -std=c++20 -Wl,-Bstatic -lpthread -lz -lpng -Wl,-Bdynamic -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -static-libstdc++ -static-libgcc -o ./build/voidsprite +g++-13 ../freesprite/*.cpp ../freesprite/pugixml/*.cpp ../freesprite/zip/*.c ../freesprite/easybmp/*.cpp ../freesprite/astc_dec/*.cpp -std=c++20 -Wl,-rpath,. -Wl,-Bstatic -lpthread -lz -lpng -Wl,-Bdynamic -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -static-libstdc++ -static-libgcc -o ./build/voidsprite diff --git a/gcc-build/devlibs_linux.zip b/gcc-build/devlibs_linux.zip new file mode 100644 index 0000000..89575f0 Binary files /dev/null and b/gcc-build/devlibs_linux.zip differ