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
|