This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: COFF file issues
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 2 Sep 2008 08:27:56 -0400
- Subject: RE: COFF file issues
- References: <8E460D1B58F94945A20AA70D4D41430D08A3492A@ALPMLVEM08.e2k.ad.ge.com>
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.
Not using any ranlib works fine when using gcc on AIX with AIX ld.
With Regards
Vardhan
-----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
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