Cross compile wget statically for ARM
15 Apr 2016 Matteo Mattei arm wget compileThe following script can be used to statically cross compile wget for ARM.
Requirements:
- You need openssl and zlib already present in the current $ROOTPATH directory with related libraries and included respectively inside libs and include folders.
- You need a glibc compiled with
--enable-static-nss
flag so that getaddrinfo and gethostbyname cannot complain at link time.
The resulting binary will be placed into the build folder.