Skip to content

Instantly share code, notes, and snippets.

@gokr
Created May 12, 2020 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokr/09fe28f170d3e37315bb22565ae449b0 to your computer and use it in GitHub Desktop.
Save gokr/09fe28f170d3e37315bb22565ae449b0 to your computer and use it in GitHub Desktop.
Building ng2planetoids statically
--os:linux
#--cpu:mipsel
--cc:gcc
#--gcc.exe:"mipsel-gcw0-linux-uclibc-gcc"
#--gcc.linkerexe:"mipsel-gcw0-linux-uclibc-gcc"
#--gcc.exe:"mipsel-rg350-linux-uclibc-gcc"
#--gcc.linkerexe:"mipsel-rg350-linux-uclibc-gcc"
--listCmd
--nimcache:nimcache
-d:nimEmulateOverflowChecks
# gcw0: --passL="-Wl,-Bstatic -lSDL2 -lm -lpng -lz -lstdc++ -Wl,-Bdynamic -lpthread -ldl"
--passL="-Wl,-Bstatic -lSDL2 -lm -lpng -lz -lstdc++ -Wl,-Bdynamic -lpthread -ldl -lGL -lX11 -lXext -lXi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment