Skip to content

Commit

Permalink
add linux devlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
counter185 committed Sep 15, 2024
1 parent 78d3995 commit 73cddb9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion gcc-build/build_linux.sh
Original file line number Diff line number Diff line change
@@ -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
Binary file added gcc-build/devlibs_linux.zip
Binary file not shown.

0 comments on commit 73cddb9

Please sign in to comment.