rsync3 universal binary for Mac OS X?

Robert DuToit rdutoit at capecod.net
Fri Mar 7 04:21:03 GMT 2008


On Mar 6, 2008, at 8:28 PM, David Miller wrote:

> Did anyone ever get rsync3 to compile as a universal binary and work  
> correctly on both tiger and leopard on ppc and intel?
>
No. I ended up using two rsyncs, one for PPC and one for intel. The  
two actually are smaller than the the one universal and I  
programatically check for the architecture in my wrapper app and use  
the appropriate one stored in resources. I would be interested in a  
universal rsync for sure. I tried Wayne's suggestion :

"I'd suggest editing byteorder.h and changing the defines near the start
to ensure that CAREFUL_ALIGNMENT is defined to 1.  That should ensure
that the code always converts values into the host's proper byte-order."

But it didn't work- it compiled ok and the system said it was a  
universal binary but the crtimes would work only on the intel side.....

I will do some more experimenting when I get a chance.
Rob D



> David.
> -- 
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html



More information about the rsync mailing list