From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3204 invoked by alias); 12 Dec 2007 14:44:13 -0000 Received: (qmail 3194 invoked by uid 22791); 12 Dec 2007 14:44:11 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Dec 2007 14:44:00 +0000 Received: by ug-out-1314.google.com with SMTP id o38so651577ugd.17 for ; Wed, 12 Dec 2007 06:43:57 -0800 (PST) Received: by 10.78.168.1 with SMTP id q1mr726916hue.71.1197470636637; Wed, 12 Dec 2007 06:43:56 -0800 (PST) Received: by 10.78.150.14 with HTTP; Wed, 12 Dec 2007 06:43:56 -0800 (PST) Message-ID: <6491e1350712120643t2508e7bcw39f6b8582efff73f@mail.gmail.com> Date: Wed, 12 Dec 2007 14:44:00 -0000 From: "satyaakam goswami" To: "???" Subject: Re: mixing objects of gcc 3.2.3 and gcc 4.1.2 Cc: gcc-help@gcc.gnu.org In-Reply-To: <475FE09B.7060006@otsc.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6491e1350712120442i408714abj98c59cc3321f78bd@mail.gmail.com> <475FE09B.7060006@otsc.com.cn> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00245.txt.bz2 On Dec 12, 2007 6:52 PM, ??? 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