[Box Backup] Building Box Backup as Universal Binaries [OS X]
Tue, 3 Oct 2006 11:35:31 +0200
I'm trying to build the Box Backup tools (I'm only interested in the
client tools for now) as Universal Binaries for PPC and x86 on Mac OS
X. I've tried the most naive approach first:
export CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc"
This _seems_ to complete nicely and builds Universal Binaries. (I've
noticed that the ./configure script does some endian checks but I'm
not sure how/if this impacts building for x86. It could be a problem
because I'm configuring on a PPC machine and building for x86).
My first aim is to build a UB on my PPC machine and make sure that at
least the PPC part of the binary still works. Alas, this is not the
Running the univeral binary bbackupquery on PPC I can connect to the
Box Backup server, but when I try to 'list' the contents I get an:
Exception: Connection TLSReadFailed (Probably a network issue between
client and server.) (7/34)
and the application terminates.
The log file reeds:
Compare the log of the regular PPC binary bbackupquery session:
Receiving stream, size 200
Maybe this points in the direction of a solution.
Has anyone tried a different (== bettter) approach to building