bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

as and ld incompatibility


From: Rekha Deshmukh
Subject: as and ld incompatibility
Date: Mon, 28 Jan 2002 17:14:38 +0530

Hi!!

I have built gcc-3.0.3, binutils 2.11.2, newlib-1.9.0 successfully for
sh-coff format. 
Now I am building Gcc -3.0.3 with latest binutils from cvs for the same
format. Here the observation is that the object file formats created by
assembler can be recognized by utilities like nm and objdump. But ld is
unable to recognize them. ld exits with Error 
"File format ambigous. Matching formats are coff-shl coff-shl-small."
The object file in question is showing the format as coff-shl. Even then
ld is unable to recognize the format.
I tried to compile the small test program.
main()
{ test();}
test()
{int i=0;}
It gives the same error. 

Please guide me on this. 

Thanks & Regards
Rekha Bhintade
KPIT Infosystems Ltd.
Tel. (O) 5382358 / 5380217 (333) 
       (R) 5386069 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNUSH tool chain for Hitachi's SH Series.
The following site also offers free support to European customers.
Read more at http://www.kpit.com/products/support.htm.
Latest version of GNUSH is released on Jan 1, 2002.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]