This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: COFF file issues


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]