gcc and -R option

Can someone explain to me why the QNX distributed gcc does not support the -R option?

As best I can tell, -R is the usual way of marking a module so that the linker knows where to find shared objects at load time.

Obviously QNX supports the use of shared objects, but unfortunately, the -R option seems to be assumed in a lot of open source, such that it being missing causes a lot of problems.

Eg, a configure script wants to know if foo.so exists, so it compiles a program that needs foo.so. Unfortunately it points the linker at foo.so using -R/libdir, which causes gcc to fail, causing the configure script to think foo.so is not there.