Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cross Compiling parrot?

9 views
Skip to first unread message

Robert Schwebel

unread,
Sep 1, 2004, 1:32:44 PM9/1/04
to perl6-i...@perl.org
Hi,

Did anybody try to crosscompile parrot? It doesn't seem to work. I tried
it with parrot_2004-08-26_230000 by setting

--cc=arm-softfloat-linux-gnu-gcc
--ld=arm-softfloat-linux-gnu-gcc

on configure, but that fails with:

----------8<----------
robert@europa:~/tmp/parrot> perl Configure.pl --cc=arm-softfloat-linux-gnu-gcc --ld=arm-softfloat-linux-gnu-gcc
Parrot Version 0.1.0 Configure 2.0
Copyright (C) 2001-2003 The Perl Foundation. All Rights Reserved.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this script, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.....................................................done.
Setting up Configure's data structures................................done.
Tweaking settings for miniparrot......................................done.
Loading platform and local hints files................................done.
Enabling optimization.................................................done.
Determining nongenerated header files.................................done.
Determining what C compiler and linker to use.........................done.
Determining what types Parrot should use..............................done.
Determining what opcode files should be compiled in...................done.
Setting up experimental systems.......................................done.
Determining what pmc files should be compiled in......................done.
Determining your minimum pointer alignment............................C compiler failed (see test.cco) at lib/Parrot/Configure/Step.pm line 332
Parrot::Configure::Step::cc_build() called at config/auto/alignptrs.pl line 37
Configure::Step::runstep('undef', 'undef') called at lib/Parrot/Configure/RunSteps.pm line 110
Parrot::Configure::RunSteps::runsteps('Parrot::Configure::RunSteps', 'cc', 'arm-softfloat-linux-gnu-gcc', 'ld', 'arm-softfloat-linux-gnu-gcc', 'debugging', 1) called at Configure.pl line 376
robert@europa:~/tmp/parrot>
----------8<----------

Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstraße 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4

Dan Sugalski

unread,
Sep 1, 2004, 9:27:24 AM9/1/04
to Robert Schwebel, perl6-i...@perl.org
At 7:32 PM +0200 9/1/04, Robert Schwebel wrote:
>Hi,
>
>Did anybody try to crosscompile parrot? It doesn't seem to work.

That doesn't surprise me. We still pull information out of the local
perl install (which'll be wrong, of course, in a cross-compilation
environment) and I'm pretty sure we don't pass in the right flags in
the right places to cross-compile properly.

Part of the problem with this is that we just don't have people with
a need or experience doing cross-compilation, though I'd be thrilled
if we can find someone. (Any and all patches to make things
cross-compile friendly, or even less cross-compile unfriendly, will
be greatly appreciated)
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages