ld: cannot open crt1.o

Ricardo Nabinger Sanchez rnsanchez at gmail.com
Fri Jul 28 19:22:13 UTC 2006


Hello,

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

Thanks in advance.

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."



More information about the freebsd-mips mailing list