From owner-freebsd-mips@FreeBSD.ORG Fri Jul 28 19:41:40 2006 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87A4F16A4DD for ; Fri, 28 Jul 2006 19:41:40 +0000 (UTC) (envelope-from ralf@denk.linux-mips.net.redhat.com) Received: from ftp.linux-mips.org (ftp.linux-mips.org [194.74.144.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7FF043D45 for ; Fri, 28 Jul 2006 19:41:39 +0000 (GMT) (envelope-from ralf@denk.linux-mips.net.redhat.com) Received: from localhost.localdomain ([127.0.0.1]:61596 "EHLO bacchus.dhis.org") by ftp.linux-mips.org with ESMTP id S8134068AbWG1Tlj (ORCPT ); Fri, 28 Jul 2006 20:41:39 +0100 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by bacchus.dhis.org (8.13.7/8.13.4) with ESMTP id k6SJg6PQ003415; Fri, 28 Jul 2006 15:42:06 -0400 Received: (from ralf@localhost) by denk.linux-mips.net (8.13.7/8.13.7/Submit) id k6SJg4c1003414; Fri, 28 Jul 2006 15:42:04 -0400 Date: Fri, 28 Jul 2006 15:42:04 -0400 From: Ralf Baechle To: Ricardo Nabinger Sanchez Message-ID: <20060728194204.GA28080@linux-mips.org> References: <20060728162202.4567446d.rnsanchez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060728162202.4567446d.rnsanchez@gmail.com> User-Agent: Mutt/1.4.2.1i Cc: linux-mips@linux-mips.org, freebsd-mips@freebsd.org Subject: Re: ld: cannot open crt1.o X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 19:41:40 -0000 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