summaryrefslogtreecommitdiffstats
path: root/kiberpipa/ot/ont/prevajanje.txt
blob: 2a35135edb5afc0321c5b7a834ed076c4b19206b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"