From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OxnbF-0002zK-FL for garchives@archives.gentoo.org; Mon, 20 Sep 2010 21:08:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1ACB8E079A for ; Mon, 20 Sep 2010 21:08:33 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by pigeon.gentoo.org (Postfix) with ESMTP id 1CF93E070F for ; Mon, 20 Sep 2010 20:14:24 +0000 (UTC) Received: from [192.168.1.34] (p57B40E2E.dip0.t-ipconnect.de [87.180.14.46]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MGGwx-1P0JrT0adr-00Eobf; Mon, 20 Sep 2010 22:14:16 +0200 Message-ID: <4C97C03C.5030103@koblersystems.de> Date: Mon, 20 Sep 2010 22:12:44 +0200 From: Jan Kobler User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org CC: Mike Frysinger Subject: Re: [gentoo-embedded] Adjust paths when cross-compiling References: <4C91F98A.6030307@koblersystems.de> <201009201339.55132.vapier@gentoo.org> In-Reply-To: <201009201339.55132.vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:z3uJe6ewPRHrZHbH07zPmcqz9ylC+SdhBwB1HDIHaox mmMqvLmYgbBiV+SebNkkLDDiDfIDrT1lys2jHcbjdoivcCp1+T KMSPDvEwbAgRByVqiyT6i/0IpQ7H+i37MpbO7KFXUajmPpu5Yq gWZ/mmmM6/Q9S4b6iwQlXoeku9N54A2AzLOOJgSKo9WH4nzIEk QJUPaYf4cokuEX42+jHsQ== X-Archives-Salt: c68e19b6-d682-4ae9-a307-7e9ac03c0d3d X-Archives-Hash: 34bfc7a0464ac105b5eef97501bb74ba Mike, sorry for my unclear email. Of course I am looking for the tools which are created for this explicit purpose and I like to use them. I had the suspicion that cross-fix-root and lafilefixer are such tools, but I only know their help text and their source code. I would like to know more about them, before I call them logged in as root. I don't want to corrupt my system by calling it at the wrong time, with the wrong command arguments or with the wrong environment variables. 1. Are there any docs or discussions on the web which further describe their purpose and their usage? 2. How should I have used these tools in order to prevent the problems with $ROOT/usr/lib/libgmp.la and $ROOT/usr/lib/libcrack.so which I have described in my previous email? 3. Which tools should be called when? After each emerge? Are these tools already called by emerge or other system tools? 4. When I cross compile the root file system in /usr/armv4tl-softfloat-linux-gnueabi, libdir needs to be libdir='/usr/armv4tl-softfloat-linux-gnueabi/usr/lib'. When the target system (ARM) mounts this root fs through NFS, then libdir needs to be again libdir='/usr/lib'. May I call cross-fix-root or lafilefixer on the target or host system again, in order to change the paths forth and back? Best regards Jan