these commands to get a
static binary:
cp /usr/lib/libacl.a .
gcc -static -O2 -Wall -static-libgcc -W -o rsync $(find . -name '*.o') libacl.a
strip rsync
And the resulting binary works fine on an ancient (2008) machine.
# Han
--
Please use reply-all for most replies to avoid omitting t
.
Btw I am not subscribed to this list, and I am not involved in rsync
development. I hope you like my idea. You don't have to cc me or
anything, just to let you know.
Groetjes, Han.
--
#!/bin/perl -sp0777i
corrects this behaviour.
Cheers,
Han Holl
(who is not subscribed at the moment).
--- generator.c.origTue May 15 13:16:51 2001
+++ generator.c Tue May 15 13:19:37 2001
@@ -277,7 +277,7 @@
if (am_root && preserve_devices && IS_DEVICE(file->mode)) {