I am working on a new build system for OpenVPN, you can check it[1] out.

To cross compile master to arm in static, do:
$ git clone git://github.com/alonbl/openvpn-build.git
$ cd openvpn-build/generic
$ CHOST="arm-unknown-linux-gnueabi" CBUILD="x86_64-pc-linux-gnu"
DO_STATIC=1 ./build

It will create static dependencies, but dynamic libc, if you want
really static use DO_REALLY_STATIC=1.
Thanks Alon, I'll give it a try.

I'll probably use REALLY_STATIC as well, because, as I already pointed out, the libc is bionic and I do not wish to rely on it - I want everything openvpn depends on to be included in the binary. I know it could be massive in size, but I am prepared to take that hit. I also take it I can still run configure with the desired configuration options, is that correct?


Reply via email to