I am working on cross platform(Linux and Solaris). Random() method in Solaris and Linux gives different output. This behavior is well known as it is compiled on two different Compilers(solarisstudio12.3 and gcc). For me Solaris application is the standard and i have to match the output of Linux app with it. what i am looking for is the implementation of random() method in Solaris Compiler so that i can use local methods to generate random numbers and match with Solaris.
Thanks in advance.