COMPILING SYNERGY ON 10.6 SNOW LEOPARD
- Install Xcode-3.2.6 (latest)
- install tigerbrew (curl will SSL error out due to age, so download it with Arctic Fox or transplant)
- download src from https://github.com/symless/synergy-core/releases/tag/v1.7.6-stable (latest I tested, 1.8.8 doesn't compile)
brew install cmake
- go to synergy root,
cd ext
- make directories for gmock-1.6.0 and gtest-1.6.0, then extract the zips into there
- from root, mkdir build, then run
CFLAGS=-mmacosx-version-min=10.6 LDFLAGS=-mmacosx-version-min=10.6 cmake .. -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.6.sdk -DOSX_TARGET_MAJOR=10 -DOSX_TARGET_MINOR=6
Now you can make -j <ncpus>
and it will produce synergyc and synergys
1.8.8 also fails to compile on modern linux with the use of OpenSSL v1.0.x obsolete calls, yet 1.7.6 compiles with no modifications on Ubuntu 20.04! (just extract the stuff in ext/
the same way, and run an easy cmake ..; make
within a build dir)
I think this is the ideal version for controlling the largest range of old to new operating systems
OPTIONAL: make a launchd daemon plist from this template https://blog.scottlowe.org/2012/04/30/updated-launchd-property-list-file-for-synergy/
The same procedure should work for compiling on old versions as far back as Tiger (due to tigerbrew)
Just replace the 10.6 values with your SDK