export PATH=$PATH:/usr/local/cross-tools/bin
cd tarsnap-autoconf-1.0.29
./configure --host=i386-mingw32msvc
Failed because it wouldn't find
zlib
.
wget http://zlib.net/zlib-1.2.5.tar.gz
tar xvfz zlib-1.2.5.tar.gz
cd zlib-1.2.5
env CROSS_PREFIX=i386-mingw32msvc- ./configure --static
So now trying tarsnap again:
cd ..
env LDFLAGS="-Lzlib-1.2.5" CPPFLAGS="-Izlib-1.2.5" ./configure --host=i386-mingw32msvc
Now it fails on OpenSSL, and I'm giving up.
checking for zlib.h... yes
checking for inflate in -lz... yes
checking openssl/rsa.h usability... no
checking openssl/rsa.h presence... no
checking for openssl/rsa.h... no
configure: error: *** OpenSSL header files missing ***
If this included OpenSSL, then perhaps I could cross-compile it.
0 comments:
Post a Comment