Bug#285559: perl: [PATCH] cross build

Dominic Hargreaves dom at earth.li
Tue May 31 22:08:48 UTC 2011


On Tue, Dec 14, 2004 at 02:09:07PM +0900, NIIBE Yutaka wrote:
> Package: perl
> Version: 5.8.4-5
> Severity: wishlist
> 
> Cross-building perl package, I needed following patch. 
> 
> Could you please consider to include this or something like this in
> next release?
> 
> Those who want cross-build need Cross/template.config.sh-$archname
> (and that's all).  Currently. I put one for M32R.
> 
> With this patch, perl can be cross-built, which means Debian can
> cleanly cross-bootstrap.
> 
> I've been working on cross build of Debian GNU/Linux (for M32R).
> perl is the last package which has 'Essential: yes', and done!
> 
>   * Cross/template.config.sh-m32r-linux: New file.
>   * installperl: Don't define @INC and PERL5LIB, it's supplied externally.
>   * Makefile.SH: Only run minitest on native build.  Invoke installperl
>     with PERL5LIB and -Ilib.
>   * debian/splitdoc: Don't define @INC, it's supplied externally.
>   * debian/config.debian: Supports cross build.  Fix a bug of
>     DEB_BUILD_GNU_TYPE, correction to DEB_HOST_GNU_TYPE.
>   * debian/rules: Handle PERL_STATIC on cross build.
>     Fix a bug of DEB_BUILD_GNU_TYPE, correction to DEB_HOST_GNU_TYPE.
>     Supports cross build (miniperl, lib/Config.pm).
> 
>  -- NIIBE Yutaka <gniibe at fsij.org>  Tue, 14 Dec 2004 13:17:40 +0900

Hello,

I'm sorry that this bug report has stood open for so long without
any action.

Are you still working on cross-compiling perl for Debian? I suspect
that this patch will need a bit of work to be updated for current
versions. Then again, I would have thought it was possible to get a
system up and running without perl installed in theory (even though
it's marked as Essential) removing the need for cross-compilation.

I don't know what other porting teams do; maybe current versions of
the perl package are better in this regard?

I would be very interested in any feedback you have.

Best wishes,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)






More information about the Perl-maintainers mailing list