develooper Front page | perl.perl5.porters | Postings from April 2003

Re: Cross-compiling perl 5.8.0

Thread Previous | Thread Next
From:
Redvers Davies
Date:
April 7, 2003 13:21
Subject:
Re: Cross-compiling perl 5.8.0
Message ID:
1049747003.7806.49.camel@duragesic
On Mon, 2003-04-07 at 19:52, Jarkko Hietaniemi wrote:

> since I went to a bit of trouble with Perl 5.8.0 to get to
> cross-compile for iPaq and even went on to document this in INSTALL...

I choked at this point.

> Well, I have to admit that it only gets it as far as miniperl,

... and suddenly relieved.  The possible thought that I didn't have to
do any of this work if i'd just read the documentation was an ugly
prospect for my self-esteem.

> no hope
> of building any of the extensions.  But wait, that is not all!

I have all of the core modules compiled.  Initially everything
statically loaded, then after many more days/hours of Makefile
debauchary dynamically linked.

I can now even cross-compile XS modules - Huzzah!

> WinCE
> and EPOC builds of Perl 5.8.0 are also (and always) cross-compiles.

Wish i'd seen those source trees, may provide clues to a "prettier"
method of getting the perl build process into pieces.

> So there are options, not just anything generic (which I think is a
> mythical creature in cross-compilation anyway).

That doesn't even begin to qualify as an understatement.

> That being said, please package your system and put it up available
> somewhere.

The final compiled packages are in the OZ feeds,
http://www.openzaurus.com/official/unstable/feed/

perl-core - Perl + Core libraries that I believe are "really" core.  A
"normal" make install produces over 30M of installed "stuff".  This
needs to be cut-down on a machine with typically[0] 30Meg of free space.
I need advice as to what is and is not cuttable.  Peoples idea of what
is and is not "core" is of course relative.  Those modules cut are
seperately packaged however.

perl-micro - microperl, as built by makefile.micro.

perl-tests - the core test files which I use to test that the produced
packages actually work.

As for the sources of the "modified build system", its currently deeply
entangled now in the OZ buildroot.  It would take a few hours to
dis-entangle it again which I am more than happy to do if anyone is
interested.

Red

[0] I have 250M ish on mine.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About