On Sat, 08 Sep 2012 23:51:50 -0700, Francois PERRAD (via RT) <perlbug-followup@perl.org> wrote: > # New Ticket Created by Francois PERRAD > # Please include the string: [perl #114798] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114798 > > > > This is a bug report for perl from francois.perrad@gadz.org, > generated with the help of perlbug 1.39 running under perl 5.14.2. > > > ----------------------------------------------------------------- > [Please describe your issue here] > my goal is the cross-compiling of Perl with Buildroot, > see http://www.nntp.perl.org/group/perl.perl5.porters/2012/09/msg191592.html > my last patch against Buildroot is http://patchwork.ozlabs.org/patch/182554/ > (the recipe is in package/perl/perl.mk) > > So, Configure needs a support of qemu (user mode). I'd like to hear jess' comments on this > Find below 3 patches against blead > > >From 42abf7caea008ee7dc8a876d88e3dd4d7de3cc16 Mon Sep 17 00:00:00 2001 > From: Francois Perrad <francois.perrad@gadz.org> > Date: Tue, 4 Sep 2012 16:26:09 +0200 > Subject: [PATCH 1/3] add qemu support > > $targetrun contains something like : qemu-arm, qemu-i386, qemu-ppc, qemu-x86_64 > $qemulib is a path > Signed-off-by: Francois Perrad <francois.perrad@gadz.org> > --- > Configure | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Configure b/Configure > index a1ba981..c78cf77 100755 > --- a/Configure > +++ b/Configure > @@ -2911,6 +2911,14 @@ fi > $targetrun -l $targetuser $targethost "cd \$cwd && ./\$exe \$@" > EOF > ;; > + qemu*) > + to=: > + from=: > + cat >$run <<EOF > +#!/bin/sh > +$targetrun -L $qemulib "\$@" > +EOF > + ;; > *) echo "Unknown targetrun '$targetrun'" >&4 > exit 1 > ;; -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.14 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous