Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-17 Thread Raffaele BELARDI
On 10/14/2011 05:15 PM, czernitko wrote: AFAIK the biggest disadvantage of crossdev-created toolchain, compared to other cross compilation tools, is that without usage of emulator (like qemu-user) it is not possible to compile things that use in their configure scipts checks that need to be

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-16 Thread Leho Kraav
i have managed to cross-compile a pretty complete stage3 for arm i believe with perl-5.10.1 from http://git.overlays.gentoo.org/gitweb/?p=proj/embedded-cross.git;a=tree;f=dev-lang/perl overall the cross-compile experience was a nightmare, esp. re perl and python. many packages obscurely fail,

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-16 Thread czernitko
Hi Leho! Thanks for many links, Jude Pereira's work totally missed my search results. In fact I focused on playing with Qemu. First approach was to emulate whole board (using qemu-system-arm) which works so far best of all, but is painfully slow (but not more than other options). As for chrooted

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-15 Thread czernitko
Hi Raffaele, how far did you get with compiling rootfs? Do you have complete gentoo installation including kernel compiled for ARM? Would it be possible to make vmdk/any other image for Qemu in which it could be run? I guess it would ease quite many things... As for my progress: I found out that

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-14 Thread Raffaele BELARDI
On 10/14/2011 01:14 PM, czernitko wrote: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-14 Thread Jonas de Buhr
hi peter! Am Fri, 14 Oct 2011 13:14:51 +0200 schrieb czernitko czerni...@gmail.com: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-14 Thread czernitko
Hello Jonas! there is probably a better way to do this, but it should be possible to make a local overlay and modify the ebuild's src_compile to do emake in the Cross directory. http://devmanual.gentoo.org/ebuild-writing/index.html So far this seems to me to be the most reasonable way. I

Re: [gentoo-user] How to cross compile Perl for ARM?

2011-10-14 Thread czernitko
Hi Raffaele, Gentoo Cross Development Guide is deprecated in favour of Gentoo Embedded project, which so far seems to suit my needs. I had a quick look on CodeSourcery's products a few days ago, but in freely available version they don't seem to offer me more than toolchain compiled with crossdev.