This discussion is archived
0 Replies Latest reply: Dec 8, 2012 2:18 AM by 978744 RSS

Issue with code compiled on diffrent versions of CC

978744 Newbie
Currently Being Moderated
I have a machines with configurations
Machine A)     Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8)
     CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07
          we have compiled C++ code, generated .so files are working fine on the Machine C
          Machine C)Operating System:5.10 Generic_147440-03 sun4v sparc sun4v(Solaris 5.10)
Machine B)     Operating System:5.8 Generic_Virtual sun4v sparc sun4v
     CC Compiler:CC:CC: Sun C++ 5.8 2005/10/13
          we have compiled C++ code, generated .so files are not working fine on the Machine C
Machine C) Operating System:5.10 Generic_147440-03 sun4v sparc sun4v(Solaris 5.10)
     
Generated .so files of C++ code on Machine A, Machine B(configurations mentioned),when copied to Machine C have to start the application, when a command is issued from command line of Machine C.
but

1).so's generated on Machine A are able to start the application on Machine C
2).so's generated on Machine B are unable to start The application on Machine C

We have run the same code on Machine A and Machine B, With The same make files, but on Machine A we have used Make and on Machine B we have used gmake.

so any compilation options for compiler on Machine B to generated the code works on Machine C.
What are all the other factors matters for .so's of Machine B not working fine on Machine C
I mean

1) Any run time utilities of OS
2)compiler versions or Libraries or Patches etc.


Any solution to the problem is helpful and appreciable. Thanks in advance.

Regards,
Revathi.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points