From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30954 invoked by alias); 8 Jan 2008 09:35:17 -0000 Received: (qmail 30944 invoked by uid 22791); 8 Jan 2008 09:35:17 -0000 X-Spam-Check-By: sourceware.org Received: from mu-out-0910.google.com (HELO mu-out-0910.google.com) (209.85.134.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Jan 2008 09:34:59 +0000 Received: by mu-out-0910.google.com with SMTP id w9so5110800mue.6 for ; Tue, 08 Jan 2008 01:34:56 -0800 (PST) Received: by 10.78.173.20 with SMTP id v20mr8762081hue.12.1199784896187; Tue, 08 Jan 2008 01:34:56 -0800 (PST) Received: by 10.78.150.14 with HTTP; Tue, 8 Jan 2008 01:34:56 -0800 (PST) Message-ID: <6491e1350801080134u48a4b817g5ea7fe7320acb91b@mail.gmail.com> Date: Tue, 08 Jan 2008 19:32:00 -0000 From: "satyaakam goswami" To: gcc-help@gcc.gnu.org Subject: Mixing obejects Built on RHEL 3.0 and RHEL 4.0 using same gcc4.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2008-01/txt/msg00070.txt.bz2 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