* Re: ld: cannot open crt1.o [not found] <20060728162202.4567446d.rnsanchez@gmail.com> @ 2006-07-28 19:42 ` Ralf Baechle 2006-07-28 21:31 ` Ricardo Nabinger Sanchez 0 siblings, 1 reply; 2+ messages in thread From: Ralf Baechle @ 2006-07-28 19:42 UTC (permalink / raw) To: Ricardo Nabinger Sanchez; +Cc: freebsd-mips, linux-mips 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ld: cannot open crt1.o 2006-07-28 19:42 ` ld: cannot open crt1.o Ralf Baechle @ 2006-07-28 21:31 ` Ricardo Nabinger Sanchez 0 siblings, 0 replies; 2+ messages in thread From: Ricardo Nabinger Sanchez @ 2006-07-28 21:31 UTC (permalink / raw) To: Ralf Baechle; +Cc: freebsd-mips, linux-mips Quoting Ralf Baechle <ralf@linux-mips.org> Sent on Fri, 28 Jul 2006 15:42:04 -0400 > crt1.o is part of glibc; you only seem to have installed cross versions of > binutils and gcc. Yes, I installed the mipsel-* packages from ports, on 6.1-STABLE. Does it have to be glibc or can it be uClibc? Anyway, I'll check my possibilities. In case of further problems, I bug you guys again. Thanks. ps: please note that I'm on a FreeBSD box. -- Ricardo Nabinger Sanchez <rnsanchez@{gmail.com,wait4.org}> Powered by FreeBSD "Left to themselves, things tend to go from bad to worse." ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-28 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060728162202.4567446d.rnsanchez@gmail.com>
2006-07-28 19:42 ` ld: cannot open crt1.o Ralf Baechle
2006-07-28 21:31 ` Ricardo Nabinger Sanchez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox