Tor 0.2.2.32 no longer cross compile (to iOS)
Since version 0.2.2.32 I can no longer cross compile Tor to iOS. Configure step is fine, build step runs smooth up until the linking phase, from the build log:
...
arm-apple-darwin9-gcc -DHAVE_CONFIG_H -I. -I../.. ...
mv -f .deps/config_codedigest.Tpo ...
rm -f libtor.a
ar cru libtor.a buffers.o ...
arm-apple-darwin9-ranlib libtor.a
...
as you can see, the program "ar" is called instead of "arm-apple-darwin9-ar" causing quite some problems as architectures are being mixed and matched ;-) If I prepend to my $PATH an "ar" which is a symlink to "arm-apple-darwin9-ar" everything builds fine. I can reproduce the behavior while cross compiling to iOS but I suppose it could happen with other architectures as no patches are needed to build the program under such operating system.
Trac:
Username: sid77