Skip to content

Instantly share code, notes, and snippets.

@optman
Last active November 26, 2019 07:36
Show Gist options
  • Save optman/2a374a749007eff63e9929cb0af79c10 to your computer and use it in GitHub Desktop.
Save optman/2a374a749007eff63e9929cb0af79c10 to your computer and use it in GitHub Desktop.
build chinadns and minivtun for edge router x
podman pull docker.io/dockcross/linux-mipsel
podman run -ti --rm -v `pwd`:/work docker.io/dockcross/linux-mipsel bash
git clone chinadns, libressl, minivutn ....
chinadns
./configure --host mipsel-linux-gnu-
make
libressl
./configure --host mipsel-linux-gnu
make install
minivtun
modify Makefile
CC = mipsel-linux-gnu-gcc
append flag “-lpthread”
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment