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

Re: cannot open crt1.o

To: "Bradley D. LaRonde" <brad@ltc.com>
Subject: Re: cannot open crt1.o
From: Nicolas Pitre <nico@CAM.ORG>
Date: Mon, 16 Aug 1999 20:40:01 -0400 (EDT)
Cc: linux-mips@fnet.fr
In-reply-to: <008c01bee846$794321b0$b8119526@ltc.com>
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().



Nicolas Pitre, B. ing.
nico@cam.org


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