Fwd: OSX universal rsync

Robert DuToit rdutoit at capecod.net
Wed Feb 20 13:33:16 GMT 2008

Just an update,

I have confirmed that rsync compiled on an intel won't work on PPC and  
vice versa. A lot of people have both kinds of macs so it would be  
good to have a universal binary for rsync 3.0, otherwise it means two  
separate rsync builds. So any help on compiling a universal rsync for  
macs would be much appreciated. The web page at ADC explains about  
this but I don't have knowledge in that area. Thanks Rob

ADC article on compiling for multiple architectures:


Begin forwarded message:

> From: Robert DuToit <rdutoit at capecod.net>
> Date: February 20, 2008 7:29:05 AM EST
> To: rsync at lists.samba.org
> Subject: OSX universal rsync
> Hi All,
>  Well, we compiled pre9 on an intel Mac running Tiger and now it  
> does work on the machine. I need to see if that will now work on a  
> PPC mac though. Hopefully it will but I am wondering if there is a  
> way to compile and make a universal binary rsync for the Mac that  
> will run on both, from my PPC Mac. Itried that yesterday with
> patch -p1 <patches/flags.diff
> patch -p1 <patches/crtimes.diff
> ./configure
> CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch  
> i386" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch  
> ppc -arch i386" make
> but it didn't work on the intel. Does anyone have any experience  
> with making a universal binary of rsync?

More information about the rsync mailing list