mixing objects of gcc 3.2.3 and gcc 4.1.2
Tim Prince
tprince@computer.org
Wed Dec 12 14:18:00 GMT 2007
satyaakam goswami wrote:
> Hi,
> We are using gcc 4.1.2 remotely on our RHEL 3.0 OS to build our
> current releases and plan to move our base OS to RHEL 4.0 on 2008. We
> will continue to use the same version of gcc 4.1.2 from the remote
> location. Since not all products will move at the same pace, can we
> use the object code built on RHEL 3.0 to link with the object code
> build on RHEL 4.0 (both built by gcc 4.1.2)? We have both C and C++
> source code and we will always do the link step on RHEL 4.0. Also we
> use the libgcc_s.so.1, libstdc++.so.6, etc. from our own gcc 4.1.2
> hierarchy at run-time.
You may need attention to glibc header and libraries as well. If there
are no changes in those header files, you should be OK.
More information about the Gcc-help
mailing list