From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GSGFD-0001IX-O7 for garchives@archives.gentoo.org; Tue, 26 Sep 2006 16:57:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8QGuMMw021985; Tue, 26 Sep 2006 16:56:22 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8QGuLZ2016018 for ; Tue, 26 Sep 2006 16:56:21 GMT Received: from home.wh0rd.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id AAA6D645B3 for ; Tue, 26 Sep 2006 16:56:20 +0000 (UTC) Received: (qmail 13115 invoked from network); 26 Sep 2006 12:55:19 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 26 Sep 2006 12:55:19 -0400 From: Mike Frysinger Organization: wh0rd.org To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] cannot find /lib/libc.so.6 Date: Tue, 26 Sep 2006 12:56:25 -0400 User-Agent: KMail/1.9.4 Cc: Daniel Glaser References: <9956e0d30609210626y78709eccn78b34e7f53743e06@mail.gmail.com> <200609261204.27257.vapier@gentoo.org> <45195453.40304@chaintronics.com> In-Reply-To: <45195453.40304@chaintronics.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2776154.ZVUN4CNXxz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609261256.26282.vapier@gentoo.org> X-Archives-Salt: 3815bb71-a12f-43cf-803a-2926554d88a5 X-Archives-Hash: e74b819ae6905777be2de645c2719346 --nextPart2776154.ZVUN4CNXxz Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 26 September 2006 12:24, Daniel Glaser wrote: > OK, to better understand this... > Does this mean, if you make your Target-ROOT /usr/CTARGET, the two > locations ($ROOT and /usr/CTARGET) mentioned above goes into the same > place, so that gcc, ld,... can find it? your cross-compiler uses /usr/CTARGET as the sysroot ... in other words, it= 's=20 as if /usr/CTARGET were the $ROOT for just the compiler binutils and gcc treat /usr/CTARGET/lib and /usr/CTARGET/usr/lib=20 and /usr/CTARGET/usr/include the same exact way your native compiler=20 treats /lib and /usr/lib and /usr/include so lets look at nano ... it needs ncurses ROOT=3D/usr/CTARGET emerge -b ncurses ROOT=3D/home/myboard emerge -K ncurses ROOT=3D/home/myboard emerge nano the only thing you need to set is CHOST ... no screwing with CFLAGS or LDFL= AGS=20 as the toolchain already knows where to look =2Dmike --nextPart2776154.ZVUN4CNXxz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQIVAwUARRlbukFjO5/oN/WBAQLOZg//a6KfQitBwTVKA0Wa2uLlWTEao9NloEip 03OgTNeUC72bShzqikkwN7wVe24AKxpmn85baeA2L3j+ORB1PS+dp7jUw/4raBP9 19zffD3GBoGSLtUl90n2ICkbQN9nT6ViSPKuEFKYnzzBJtazYvGv8xoznMepq1+C vc/1HBOFt8TsyHNWiZmwRVodZhS2B9s7LvJOujuYlDJ3cIHOLPuO22256+nBGJby 5rWkWI+bet5plFT6Jt4jRCjr+qH6mx/X4twBf4BKC046KqucHPOvxv3RuYJF8vai 3izHfVYejLtUKGlkPJjQXqRcGVaQlFumQWSFF9lQQkFIk05ELvtX6AbKAKitAr/1 cqwXm6FYXDTRAa80sfrJM/uo2xLd4tNFiu51QbwoqEvgog0ERWPdTmnlXUOhjQxe euQeLHuymlfnUaB3LXzuWadSquhJ3quetbEocg9dgptFjQ8Pc/aIBFhj28IA4dWV Kt8ctyOiM/B46dWMhBiK0k2RROklaR7/LyFZBLxgMBeDqlemZv6E4xyidlgiQrw8 tbAF4yLy+nl11E85IQrVaiOv+nqR2N3y34saed0z63MCPHd0Kx+87IDdfcko+/mp ySNMXLJun55LhZpPrnJGaYykImjjzQPhrBvdJahkPeTaasrtkgkCAJVLBcVMGcpc xpEn8EEK45w= =qLjz -----END PGP SIGNATURE----- --nextPart2776154.ZVUN4CNXxz-- -- gentoo-embedded@gentoo.org mailing list