Article View: perl.dist
Article #1Cross-compiling perl
From: Alex Suykov
Date: Tue, 06 Jan 2009 17:48
Date: Tue, 06 Jan 2009 17:48
34 lines
2916 bytes
2916 bytes
A little announcement, I guess it may be interesting for some people on this list. Some time ago I was confronted with the problem of cross-compiling perl. After messing with supplied Configure for some time, I gave up and started writing my own configure script. Now it's complete enough to be announced. http://rootshell.be/~axs/perl/perl-5.10.0-cross-0.1.tar.gz Typical invocation for native build: ./configure make make DESTDIR=... install Typical invocation for cross-build: ./configure --target=$target --sysroot=/mnt/target make make DESTDIR=... install If you're lucky, that's all you need to perform cross-build. No SSH connection to target host is needed. On the other hand, it is currently limited to relatively sane unix systems with bash, GNU make and GNU toolchains, both native and cross. The package consists of configure script itself, split into several files, top-level Makefile and couple of fixed scripts (configpm, lib/Pod/Man.pm). To use, just unpack into perl-5.10.0 source directory. It's the first public release; don't be surprised to find nasty bugs. Also, beware: some values that should be tested are just hardcoded (given default values) for now. See http://rootshell.be/~axs/perl for additional information.
Technical Details
Message-ID:
<20090106174839.GA2534@versa.bugs>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.dist.mbox.gz!border1.nntp.ams.giganews.com!border-4.ams.xsnews.nl!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!newsfeed.stanford.edu!nntp.perl.orgShow Full Headers
Complete Article Headers
Message-ID: <20090106174839.GA2534@versa.bugs> Subject: Cross-compiling perl Date: Tue, 6 Jan 2009 19:48:39 +0200 From: axs@ukr.net (Alex Suykov) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.dist.mbox.gz!border1.nntp.ams.giganews.com!border-4.ams.xsnews.nl!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!newsfeed.stanford.edu!nntp.perl.org Newsgroups: perl.dist Return-Path: <axs@ukr.net> Mailing-List: contact perl-dist-help@perl.org; run by ezmlm Delivered-To: mailing list perl-dist@perl.org Delivered-To: perl-dist@perl.org X-Spam-Status: No, hits=2.5 required=8.0 tests=DNS_FROM_RFC_DSN X-Spam-Check-By: la.mx.develooper.com by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; by mail.netlux.org (Postfix) with ESMTP id 9F9A04D4BA7 X-Virus-Scanned: amavisd-new at netlux.org by localhost (netlux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y68--YdWy0W3 for <perl-dist@perl.org>; by mail.netlux.org (Postfix) with ESMTP id 9A0C74D4B6A To: perl-dist@perl.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Approved: news@nntp.perl.org Lines: 33 X-Original-Bytes: 2802