The gcc supplied by ipkg (for this model) is an ancient 3.4.6, apparently so outdated, that you cannot configure and compile “current” sources, at least neither a current rsync nor a current gcc.
I guess I should go for Synology’s own toolchain for the DS213+. Where do they supply that? At www.synology.com > Support > Developers > “Request GPL Source” they point you to sourceforge.net/projects/dsgpl/. Looks like EnvDeploy inside that tarball is the starting point.
According to the “Synology NAS Server 3rd-Party Apps Integration Guide.pdf“
- the DS213+ has a “Freescale QorIQ P1022”; /proc/cpuinfo calls the CPU an e500v2, that’s a kind of PowerPC; the toolchain set-up scripts calls it “qoriq“;
- and the DS112+ has a “Marvell 6281” or a “Marvell 6282”; /proc/cpuinfo calls the CPU a “Feroceon 88FR131 rev 1 (v5l)”, that’s an ARM processor; the toolchain set-up script calls it “6281“;
To be continued …