linux-mips-fnet
[Top] [All Lists]

Re: cannot open crt1.o

To: "Nicolas Pitre" <nico@CAM.ORG>
Subject: Re: cannot open crt1.o
From: "Bradley D. LaRonde" <brad@ltc.com>
Date: Mon, 16 Aug 1999 20:46:14 -0400
Cc: <linux-mips@fnet.fr>
References: <Pine.GSO.3.94.990816203715.22274C-100000@Ocean.CAM.ORG>
----- Original Message -----
From: Nicolas Pitre <nico@CAM.ORG>
To: Bradley D. LaRonde <brad@ltc.com>
Cc: <linux-mips@fnet.fr>
Sent: Monday, August 16, 1999 8:40 PM
Subject: Re: cannot open crt1.o


> On Mon, 16 Aug 1999, Bradley D. LaRonde wrote:
>
> > I could use some help.
> >
> > I've been successfully cross-compiling kernels on my RH6.0 system right
> > along for some time.
> >
> > Now I'm trying to cross-compile a simple mipsel-linux program.
> >
> > When I do this:
> >
> >     mipsel-linux-gcc -static hello.c -o hello
> >
> > I get this:
> >
> >     /usr/mipsel-linux/bin/ld: cannot open crt1.o: No such file or
directory
> >
> > I only have one crt1.o in /usr/lib, but I assume that is only for i386
> > programs.
>
> crt1.o is part of the c library.  That's the piece that initializes few
> things and calls main().

Thanks.  That's what I figured.  Maybe I should have been more specific with
my question.  :)

My question is really more like "Why it isn't there, and where can I get
it?"

Regards,
Brad

<Prev in Thread] Current Thread [Next in Thread>