From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IsDCb-0001J3-Rq for garchives@archives.gentoo.org; Wed, 14 Nov 2007 08:02:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAE80VeK027843; Wed, 14 Nov 2007 08:00:31 GMT Received: from ebox1b.ebox.com (ebox1.ebox.com [64.7.141.6]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAE80Tfv027764 for ; Wed, 14 Nov 2007 08:00:31 GMT Received: from [192.168.1.2] (PC115.max-kade.uni-kiel.de [134.245.201.115]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ebox1b.ebox.com (Postfix) with ESMTP id 70DE217E0E4 for ; Wed, 14 Nov 2007 03:00:27 -0500 (EST) Message-ID: <473AAB5F.5030404@visible-assets.com> Date: Wed, 14 Nov 2007 09:01:35 +0100 From: Christopher Friedt User-Agent: Thunderbird 2.0.0.6 (X11/20070728) 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 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Cross compiling libperl References: <200711121807.48499.pfrank@gmx.de> <47388443.4020403@hiramoto.org> In-Reply-To: <47388443.4020403@hiramoto.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1fac134a-bdbb-42b9-b155-915ed63039b3 X-Archives-Hash: 71f0dd25210b69f024e378c5deb68f36 Alternatively, what I've done in the past, was actually natively compile badly behaved packages using Qemu/ARM. This is naturally slightly slower. Chris Karl Hiramoto wrote: > Petric Frank wrote: >> Hello, >> >> i've read the mail from Corey (dd. 2006-11-20 03:13:19 GMT). >> >> The problem is that the build process compiles a test program for the >> destination platform and afterwards it tries to execute it. >> This will never work when cross compiling. >> >> Are there any workarounds available (patches for the ebuild, etc.) ? >> >> regards >> Petric >> > > There are a lot of packages like this that come this way from upstream > > Options that have worked for me > 1. modify the configure script and/or makefiles to not run the test program > > 2. In a few cases i complied gcc for my ARM platform, then compiled > natively.. I think perl was one of these.. It took hours to compile.. > > -- > Karl. -- gentoo-embedded@gentoo.org mailing list