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:

http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html




Begin forwarded message:

From: Robert DuToit <[EMAIL PROTECTED]>
Date: February 20, 2008 7:29:05 AM EST
To: rsync@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?

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

Reply via email to