public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* mixing objects of gcc 3.2.3 and gcc 4.1.2
@ 2007-12-12 12:42 satyaakam goswami
  2007-12-12 13:22 ` ???
  2007-12-12 14:18 ` Tim Prince
  0 siblings, 2 replies; 4+ messages in thread
From: satyaakam goswami @ 2007-12-12 12:42 UTC (permalink / raw)
  To: gcc-help

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.

regards
Satya

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mixing objects of gcc 3.2.3 and gcc 4.1.2
  2007-12-12 12:42 mixing objects of gcc 3.2.3 and gcc 4.1.2 satyaakam goswami
@ 2007-12-12 13:22 ` ???
  2007-12-12 14:44   ` satyaakam goswami
  2007-12-12 14:18 ` Tim Prince
  1 sibling, 1 reply; 4+ messages in thread
From: ??? @ 2007-12-12 13:22 UTC (permalink / raw)
  To: satyaakam goswami; +Cc: gcc-help

> 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)?  
well,err...
i confused by what you said.
do you mean all the .o files built by 4.1.2?
but your mail title said some of the .o files were built by gcc 3.2.3,
others compiled by 4.1.2.

if some by 3.2.3 and others by 4.1.2, i do not think it is easy to 
combine them togther.it concerns about the c++ abi.

maybe this URL is useful:
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html

just suggestions, i am new about gcc, so if i made any stupid mistakes,
i apologize in advance.

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.
> 
> regards
> Satya

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mixing objects of gcc 3.2.3 and gcc 4.1.2
  2007-12-12 12:42 mixing objects of gcc 3.2.3 and gcc 4.1.2 satyaakam goswami
  2007-12-12 13:22 ` ???
@ 2007-12-12 14:18 ` Tim Prince
  1 sibling, 0 replies; 4+ messages in thread
From: Tim Prince @ 2007-12-12 14:18 UTC (permalink / raw)
  To: satyaakam goswami; +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mixing objects of gcc 3.2.3 and gcc 4.1.2
  2007-12-12 13:22 ` ???
@ 2007-12-12 14:44   ` satyaakam goswami
  0 siblings, 0 replies; 4+ messages in thread
From: satyaakam goswami @ 2007-12-12 14:44 UTC (permalink / raw)
  To: ???; +Cc: gcc-help

On Dec 12, 2007 6:52 PM, ??? <longhaitao@otsc.com.cn> 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)?
> well,err...
> i confused by what you said.
> do you mean all the .o files built by 4.1.2?
> but your mail title said some of the .o files were built by gcc 3.2.3,
> others compiled by 4.1.2.
>
> if some by 3.2.3 and others by 4.1.2, i do not think it is easy to
> combine them togther.it concerns about the c++ abi.
>
> maybe this URL is useful:
> http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
>
> just suggestions, i am new about gcc, so if i made any stupid mistakes,
> i apologize in advance.
>
>
> 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.
> >
> > regards
> > Satya
>
Yes thats a mistake in subject we will be using 4.1.2 in both the
cases RHEL 3.0 as well as RHEL 4.0.

regards
Satya

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-12 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 12:42 mixing objects of gcc 3.2.3 and gcc 4.1.2 satyaakam goswami
2007-12-12 13:22 ` ???
2007-12-12 14:44   ` satyaakam goswami
2007-12-12 14:18 ` Tim Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).