From 19cebcdb869350fdb8fe504d773d7d404d1c8166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 2 Feb 2023 01:20:45 +0100 Subject: konc --- kiberpipa/ot/ont/prevajanje.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kiberpipa/ot/ont/prevajanje.txt (limited to 'kiberpipa/ot/ont/prevajanje.txt') diff --git a/kiberpipa/ot/ont/prevajanje.txt b/kiberpipa/ot/ont/prevajanje.txt new file mode 100644 index 0000000..2a35135 --- /dev/null +++ b/kiberpipa/ot/ont/prevajanje.txt @@ -0,0 +1,15 @@ +PATH=$PATH:/opt/toolchains/stbgcc-8.3-0.4/bin +zlib: +CC=mips-linux-gcc LDFLAGS="-static --sysroot=$HOME/modem/root -L$HOME/modem/root/lib -pthread" CFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" CXXFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" LIBS=-ldl ./configure --prefix=$HOME/modem/root + +libpng: +./configure --includedir=$HOME/modem/root/include --host=mips --prefix=$HOME/modem/root CC=mips-linux-gcc LDFLAGS="-static --sysroot=$HOME/modem/root -L$HOME/modem/root/lib -pthread" CFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" CXXFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" LIBS=-ldl +sed "s|-DPNGLIB_LIBNAME|-I$HOME/modem/root/include -DPNGLIB_LIBNAME|" -i Makefile +libfreetype: +https://downloads.sourceforge.net/project/freetype/freetype2/2.12.1/freetype-2.12.1.tar.gz?download +./configure --without-harfbuzz --without-brotli --with-sysroot=$HOME/modem/root --host=mips --prefix=$HOME/modem/root CC=mips-linux-gcc LDFLAGS="-static --sysroot=$HOME/modem/root -L$HOME/modem/root/lib -pthread" CFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" CXXFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" LIBS=-ldl +sed -i "s|/root/modem/root||" $HOME/modem/root/lib/*.la +libgd: + ./configure --with-freetype --without-xpm --without-x --without-fontconfig --without-webp --without-tiff --without-jpeg --without-heif --with-png --with-sysroot=$HOME/modem/root --host=mips --prefix=$HOME/modem/root CC=mips-linux-gcc LDFLAGS="-static --sysroot=$HOME/modem/root -L$HOME/modem/root/lib -pthread" CFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" CXXFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" LIBS=-ldl + vnstat: + ./configure --host=mips --prefix=$HOME/modem/root CC=mips-linux-gcc LDFLAGS="-static --sysroot=$HOME/modem/root -L$HOME/modem/root/lib -pthread" CFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" CXXFLAGS="-static --sysroot=$HOME/modem/root -I$HOME/modem/root/include" LIBS="-ldl -lpng -lz" -- cgit v1.2.3