public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* COFF file issues
@ 2008-09-01 12:53 Vardhan, Sundara (GE Infra, Energy)
  2008-09-02 12:28 ` Vardhan, Sundara (GE Infra, Energy)
  0 siblings, 1 reply; 2+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-09-01 12:53 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: COFF file issues
  2008-09-01 12:53 COFF file issues Vardhan, Sundara (GE Infra, Energy)
@ 2008-09-02 12:28 ` Vardhan, Sundara (GE Infra, Energy)
  0 siblings, 0 replies; 2+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-09-02 12:28 UTC (permalink / raw)
  To: Vardhan, Sundara (GE Infra, Energy), gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-02 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-01 12:53 COFF file issues Vardhan, Sundara (GE Infra, Energy)
2008-09-02 12:28 ` Vardhan, Sundara (GE Infra, Energy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).