I have a C program which depends on Linux system libraries. Which is right:
This program is Linux-dependent.
This program is Linux-depending.
Google search gives me some examples of the former usage, but I am wondering if it is really right.
Linux-depending is not a common or accepted usage.
Linux-dependent is commonly used to mean what you intend, and you should probably use it.
However, the word depend can have a different meaning:
Hence the -dependent suffix is open to the same two interpretations.
"The application is Linux-dependent" could mean:
However, by common usage, if you use these words, people will infer the intended meaning.
"This application requires Linux", however, is more or less unambiguous (although a real pedant would point out that it doesn't specify in what capacity Linux is required).
"Depending" exists as an independent word, meaning "whether", or "conditionally", but I cannot think of any compounds ending "-depending". They are always "-dependent".
This program is Linux-dependent is correct.
However in programming world, you can also say "This program is only compatible with Linux"
To me, Linux-dependent does not sound quite right. Instead, I would say Linux-only software.
The word dependency makes me think of a required library but a platform or OS is more than that.