> I am working on a large C++ program (one small binary and several
> large shared libraries) that I'd like to run both on Solaris 2.6 and
> Solaris 8 systems. I am using Forte 6 (not update 1) to build it on a
> Blade 1000 running Solaris 8. The shared libs seem to be OK, but the
> binary doesn't run on an Ultra 60 / Solaris 2.6 system : it simply
> aborts on startup, before actually reaching main(). If I recompile the
> binary on Solaris 2.6, then it works on 2.6 and 8, still using the
> Solaris 8-compiled shared libs.
> Although the 2.6 build works, it would really be easier and faster for
> me to be able to build the program on a Solaris 8 system. Plus I'd
> like to understand what is going on. Patch 105591-09 has been applied
> ob the 2.6 system, and both compilers have been patched with patch
> Does anybody have an idea on this one ?
The fact that it works at all with Solaris 8 compiled ANYTHING in Solaris 2.6
is pure dumb luck.
Also, the Sun Blade 1000 running Solaris 8 is a 64-bit system. You may be
automatically creating 64-bit binaries with Forte. These won't run on a 2.6 no
matter how long you hold your breath.