cross: ar and ranlib

only tested with mingw so far. arm todo