Thread View: perl.dist
1 messages
1 total messages
Started by Alex Suykov
Tue, 06 Jan 2009 17:48
Cross-compiling perl
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads