From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20248 invoked by alias); 2 Sep 2008 12:28:40 -0000 Received: (qmail 20240 invoked by uid 22791); 2 Sep 2008 12:28:39 -0000 X-Spam-Check-By: sourceware.org Received: from ext-cn0ut-5.online-age.net (HELO ext-cn0ut-5.online-age.net) (63.210.253.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 Sep 2008 12:27:58 +0000 Received: from int-cn0ut-3.online-age.net (int-cn0ut-3.online-age.net [3.159.252.72]) by ext-cn0ut-5.online-age.net (8.13.6/8.13.6/20051114-SVVS-TLS-DNSBL) with ESMTP id m82CRtvK002489 for ; Tue, 2 Sep 2008 08:27:56 -0400 Received: from ALPMLEF02.e2k.ad.ge.com (int-cn0ut-3.online-age.net [3.159.252.72]) by int-cn0ut-3.online-age.net (8.13.6/8.13.6/20050510-SVVS) with ESMTP id m82CRtaF003770 for ; Tue, 2 Sep 2008 08:27:55 -0400 Received: from ALPMLVEM08.e2k.ad.ge.com ([3.159.17.71]) by ALPMLEF02.e2k.ad.ge.com with Microsoft SMTPSVC(6.0.3790.2499); Tue, 2 Sep 2008 08:27:54 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: COFF file issues Date: Tue, 02 Sep 2008 12:28:00 -0000 Message-ID: <8E460D1B58F94945A20AA70D4D41430D08A34C08@ALPMLVEM08.e2k.ad.ge.com> In-Reply-To: <8E460D1B58F94945A20AA70D4D41430D08A3492A@ALPMLVEM08.e2k.ad.ge.com> References: <8E460D1B58F94945A20AA70D4D41430D08A3492A@ALPMLVEM08.e2k.ad.ge.com> From: "Vardhan, Sundara (GE Infra, Energy)" To: "Vardhan, Sundara (GE Infra, Energy)" , 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: 2008-09/txt/msg00008.txt.bz2 Hi All Found that the make files were using ranlib to create an index for the archive files. This ranlib was a link to GNU ranlib. So I tried with the native IBM ranlib but still got the same error. Then I completely removed ranlib usage and compile. Voila, it worked.=20 Not using any ranlib works fine when using gcc on AIX with AIX ld. With Regards Vardhan=20 -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Vardhan, Sundara (GE Infra, Energy) Sent: Monday, September 01, 2008 8:53 AM To: gcc-help@gcc.gnu.org Subject: COFF file issues Hi All I am currently compiling in AIX 5.3 using gcc 4.2.3. However, am using AIX ld instead of GNU ld as I had problems previously and was adviced to use AIX ld by couple of members of this group after which I did not get the link errors. Now I keep getting=20 Collect2: libsample.a: Not a COFF file error. Where libsample.a is user library and this name varies from compile to compile. What is this error and is there any way that I can overcome this. I would very much appreciate your help and advice. With Regards Vardhan