Gentoo Archives: gentoo-embedded

From: Christopher Friedt <cfriedt@××××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Cross compiling libperl
Date: Wed, 14 Nov 2007 08:02:26
In Reply to: Re: [gentoo-embedded] Cross compiling libperl by Karl Hiramoto
Alternatively, what I've done in the past, was actually natively compile 
badly behaved packages using Qemu/ARM.

This is naturally slightly slower.


Karl Hiramoto wrote:
> Petric Frank wrote: >> Hello, >> >> i've read the mail from Corey <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@g.o mailing list