|P is for Practical|
Perl && uclibcby ruoso (Curate)
|on May 30, 2006 at 17:33 UTC||Need Help??|
ruoso has asked for the
wisdom of the Perl Monks concerning the following question:
I've been working on a port of the Debian system to uclibc in the x86 architecture, with a great help from the guys of the emdebian project who built SLIND, which contains a cross toolchain and a base system for the uclibc-i386 architecture.
I'm now cross-compiling packages that are part of the build-essential packages of the Debian System, on which perl 5 takes part.
So, I know have a i486-linux-uclibc cross toolchain with libdb and libgdbm already cross compiled and available inside it. The problem is now cross-compiling perl from i486-linux-gnu (my machine) to i486-linux-uclibc (target arch). Ok, this is not exactly a cross compilation as they are subarches.
The problem is: how to tell the perl build system to cross-compile using the provided cross-toolchain?