From: Ralf Baechle <ralf@linux-mips.org>
To: Ricardo Nabinger Sanchez <rnsanchez@gmail.com>
Cc: freebsd-mips@freebsd.org, linux-mips@linux-mips.org
Subject: Re: ld: cannot open crt1.o
Date: Fri, 28 Jul 2006 15:42:04 -0400 [thread overview]
Message-ID: <20060728194204.GA28080@linux-mips.org> (raw)
In-Reply-To: <20060728162202.4567446d.rnsanchez@gmail.com>
On Fri, Jul 28, 2006 at 04:22:02PM -0300, Ricardo Nabinger Sanchez wrote:
> I'm trying to get my mipsel-linux environment to work, but no success:
>
> % mipsel-linux-gcc test.c
> /usr/local/lib/gcc-lib/mipsel-linux/2.97/../../../../mipsel-linux/bin/ld:
> cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> Exit 1
>
> % cat test.c
> int main() {
> return 0;
> }
>
> % fgrep crt1.o -r /var/db/pkg/mipsel-linux-*
> Exit 1
>
> Here there's only the crt1.o from the base gcc (not the MIPS one):
> % find /usr -type f -name crt1.o
> /usr/lib/crt1.o
>
>
> I feel like clearly missing something very basic here. Aren't these ports
> enough?
>
> devel/mipsel-linux-binutils
> devel/mipsel-linux-gcc
> devel/mipsel-linux-kernel-headers
crt1.o is part of glibc; you only seem to have installed cross versions of
binutils and gcc.
Ralf
next parent reply other threads:[~2006-07-28 19:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060728162202.4567446d.rnsanchez@gmail.com>
2006-07-28 19:42 ` Ralf Baechle [this message]
2006-07-28 21:31 ` ld: cannot open crt1.o Ricardo Nabinger Sanchez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060728194204.GA28080@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=freebsd-mips@freebsd.org \
--cc=linux-mips@linux-mips.org \
--cc=rnsanchez@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox