On 2017-05-04 13:52, Michael Van Canneyt wrote: > All this fails if the needed libraries are not available
You are indeed correct of course. Below is the output as seen on a server that has no X11 related libraries installed. ================================ $./osmail -h Shared object "libXft.so.2" not found, required by "osmail" $ ================================ Having two binaries also has other benefits. Your "launch binary" can do checks for a GUI environment, but it can also be used for over-the-wire binary updates. eg: You can't overwrite a running binary under Windows, but with a two binary setup the update can be done before launching the real application executable. Regards, Graeme _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal