Migration from solaris 8 to 10

Hello,

We have upgraded our system from SunOS 5.8 to Solaris 10.
I would like to know if the applications (written in c, c++, pro*c, java,..) running on the 5.8 can run on the Solaris 10 without code modification or the need to be recompiled ?

thanks you for your help.

Probably but that really depends on how the applications were built.

There is also the option of running Solaris 8 containers under Solaris 10.

thanks you for your reply,
can you please explain how this depends on the way the applications were built ?
actually we will recompile all the applications, but i need to know if there is anything we need to change in the source code itself or the makefiles..
thank you very much

Recompiling the application is unnecessary if the source code complies with requirements. Solaris guarantees binary compatibility from 8 (and even 2.6) to 10. If there is an incompatibility, it is due to the source code.
Solaris Operating System - Features Solaris Application Guarantee Program
Solaris Operating System - Source Code Guidelines

thank you very much for your reply