'Some tweaking' is not precise enough for me to fix it, as I don't use Linux myself, and therefore have no direct way of testing it.
Please specify exactly which changes were required to fix it, so that I can include those changes in my sources, possibly within compile-time '#ifdef __LINUX__' clauses.
I plan to fix this by adding another header file specifically for system specification. This will normally only contain one active macro definition, but the file will be referenced by all the ".c" files in the project, thus making the method of system specification explicitly obvious to all coders, which it hasn't been in the past. So just like the program already uses __CYGWIN__ and __MINGW__, there will also be an alternative for __LINUX__. But to use this method properly I will need some Linux coder to tell me where conditional clauses for Linux are needed.Attached is my modified version to allow compilation on a linux OS. Ignore this if you use Windows, MinGW, or Cygwin.
----- snip ----- re: your code changes
Such code is a typical example of stuff that needs a conditional clause to adapt the program to the OS used.
Similar methods will also work under windows, with CLI commands or normal shortcuts, to change the current dir independently of the program location, but what about the "elflist.txt" method. Does that work for specifying shares under Linux or not ?Another hint for linux users...
Run the process in the directory you want shared.
Best regards: dlanor