Tuesday, June 7, 2011

Cross compiling tarsnap for mingw32msvc

Cross compiling tarsnap for mingw32msvc

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.


HISTORICAL ESSAY ON CONTINUITY OF DERIVATIVES - sci.math | Google Groups: "a derivative is a Baire one function, which implies that any
derivative is continuous on the complement of a first category set.
Moreover, since the set of points at which an arbitrary function
is not continuous is an F_sigma set, it follows that the
non-continuity points of any derivative must be an F_sigma
first category set. In addition, because every derivative
satisfies the intermediate value property, no derivative can
have a jump discontinuity. (This was also pointed out by Kovarik.)"

Could. Not. Decipher.