public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* path of crt1.o
@ 2009-03-10 13:30 Kövesdi György
  2009-03-10 14:53 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Kövesdi György @ 2009-03-10 13:30 UTC (permalink / raw)
  To: binutils

Hi,

I just installed binutils 2.17 on my OpenWrt (running on Asus wl500gp), and 
got the following message:

gcc dummy.c
/opt/bin/ld: crt1.o: No such file: No such file or directory

In verbose mode I see that the crt1.o is passed without full path to collect2 
(the line is very long), and probably that's why it is not found.
The crt1.o is installed at /opt/mipsel-linux/lib/crt1.o. I tried to put it in 
other common places (/usr/lib, /usr/local/lib), but it didn't help.
Where its path can be set? What can be wrong?
I use gcc 3.4.6

Thanx in advance
K. Gy.

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

* Re: path of crt1.o
  2009-03-10 13:30 path of crt1.o Kövesdi György
@ 2009-03-10 14:53 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2009-03-10 14:53 UTC (permalink / raw)
  To: Kövesdi György; +Cc: binutils

Kövesdi György <kgy@deverto.hu> writes:

> In verbose mode I see that the crt1.o is passed without full path to collect2 
> (the line is very long), and probably that's why it is not found.
> The crt1.o is installed at /opt/mipsel-linux/lib/crt1.o.

Your gcc is misconfigured, it should have passed the full name to ld.
This cannot be fixed in binutils.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2009-03-10 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-10 13:30 path of crt1.o Kövesdi György
2009-03-10 14:53 ` Andreas Schwab

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).