Gentoo Archives: gentoo-embedded

From: Karl Hiramoto <karl@××××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Cross compiling libperl
Date: Mon, 12 Nov 2007 17:52:24
Message-Id: 47388443.4020403@hiramoto.org
In Reply to: [gentoo-embedded] Cross compiling libperl by Petric Frank
1 Petric Frank wrote:
2 > Hello,
3 >
4 > i've read the mail from Corey <corey@...> (dd. 2006-11-20 03:13:19 GMT).
5 >
6 > The problem is that the build process compiles a test program for the
7 > destination platform and afterwards it tries to execute it.
8 > This will never work when cross compiling.
9 >
10 > Are there any workarounds available (patches for the ebuild, etc.) ?
11 >
12 > regards
13 > Petric
14 >
15
16 There are a lot of packages like this that come this way from upstream
17
18 Options that have worked for me
19 1. modify the configure script and/or makefiles to not run the test program
20
21 2. In a few cases i complied gcc for my ARM platform, then compiled
22 natively.. I think perl was one of these.. It took hours to compile..
23
24 --
25 Karl.
26 --
27 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Cross compiling libperl Christopher Friedt <cfriedt@××××××××××××××.com>
Re: [gentoo-embedded] Cross compiling libperl Mike Frysinger <vapier@g.o>