In perl.git, the branch smoke-me/jrobinson/configure-for-cross has been created
<http://perl5.git.perl.org/perl.git/commitdiff/9acceff8c0fdb6e846b6843602872ee108329a09?hp=0000000000000000000000000000000000000000> at 9acceff8c0fdb6e846b6843602872ee108329a09 (commit) - Log ----------------------------------------------------------------- commit 9acceff8c0fdb6e846b6843602872ee108329a09 Author: Jess Robinson <[email protected]> Date: Fri Jan 25 09:52:27 2013 +0000 Remove deletion of "install" dir, incompatible with INSTALL file on case-insensitive systems. M Makefile.SH commit 969a0577bee0e15cd23e4c0d36c407d3f4c219e4 Author: Jess Robinson <[email protected]> Date: Fri Jan 18 18:55:02 2013 +0000 Create a Perl with relocatable inc when building for Android. M hints/linux-androideabi.sh commit 15f7264808bfcdc3d2af2fe83570aa46eb100441 Author: Jess Robinson <[email protected]> Date: Fri Jan 18 16:04:17 2013 +0000 Update version of Errno.pm to reflect the changes made for cross-compiling M ext/Errno/Errno_pm.PL commit 21960afa5fa96f07156de58cf6c3372ee4e7cb24 Author: Jess Robinson <[email protected]> Date: Fri Jan 18 15:54:51 2013 +0000 Amend pod_lib.pl (for installperl) to work with miniperl (no dynamic loading available) This is to allow cross-compilation builds to run installperl using a host miniperl instead of the build Perl binary. M Makefile.SH M Porting/pod_lib.pl commit 9d2b9052d64df7be8fe62e7cf3ae41fd53feb69b Author: Jess Robinson <[email protected]> Date: Fri Jan 18 15:46:10 2013 +0000 Use the system perl for RUN_PERL, if we are cross compiling, and we found one. Note we can only substitute the system perl for scripts that do not require Config as it complains about non-matching Perl versions. M Makefile.SH commit 36fe03a8cc11abba8eae27ce8d66fc992a539540 Author: Jess Robinson <[email protected]> Date: Thu Jan 17 11:45:13 2013 +0000 Update AUTHORS and MANIFEST to appease test_porting M AUTHORS M MANIFEST commit a17eee26a826071943376fb4a518509ff842ff66 Author: Nicholas Clark <[email protected]> Date: Tue Jan 15 15:51:50 2013 +0100 write_buildcustomize.pl now uses Config, so add a Makefile dependency. M Makefile.SH commit a86ed5773d4e9f18239ce3ff36347729bf5e6d63 Author: Neil Williams <[email protected]> Date: Sat Jan 12 13:23:00 2013 +0000 fix the ability to use targethost when defined. M Configure commit 6fc43e6e4f3517451c9d5a72c02ad53defb03456 Author: Neil Williams <[email protected]> Date: Fri Jan 11 17:01:22 2013 +0000 add an escape for when targethost is not defined but usecrosscompile is. M Configure commit 8bb9ba5a1fda75d0d341fbfe51edee2d6951ac1a Author: Jess Robinson <[email protected]> Date: Tue Jan 15 10:40:08 2013 +0000 Re-organise the creation of Config.pm to allow $^O to be "osname" from config.sh, instead of miniperl's $^O. This is necessary when cross-compiliing, as we use a host (mini)perl to run configpm for the target arch. M configpm commit bde84dbcbe00a35de0bbff3e2472d32d10020839 Author: Jess Robinson <[email protected]> Date: Tue Jan 15 10:36:16 2013 +0000 Cope with osnames that look like "*linux*" which happens when cross-compiling. M Configure commit 6a614b4ce0c8b0ad6c9e8b8dd5c5ba442beb92d3 Author: Jess Robinson <[email protected]> Date: Tue Jan 15 10:26:22 2013 +0000 Remve extra "was file copied" check using run-ssh, this doesn't seem to be of much use. Also introduce $targetport to allow running on a non-standard ssh port (such as when using user networking on qemu and redirecting a local port to the emulator ssh) M Configure commit c86a1f7bfe17fe7d76bf990188718d6d5609f862 Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:47:38 2013 +0000 Fix Makefile so that host dir is removed in make distclean M Makefile.SH commit ee3219eb918268cd8ea0068e9a34f32b04df30f3 Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:43:42 2013 +0000 Run all the miniperl calls remotely, not via RUN M MANIFEST M Makefile.SH commit d610c985fd083ed18dad89dc62aac8a1adc026f9 Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:42:56 2013 +0000 Force removal of existing files in host/ dir when building new miniperl (cross-compiling) M Configure commit 7eea9c6496b7108c7d23c22cc5c509098ba74f1d Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:42:22 2013 +0000 Fix accidental bashisms introduced into Configure M Configure commit edd5deb8e658c04dd81597a2625d55c383cec6c9 Author: Jess Robinson <[email protected]> Date: Fri Jan 4 10:48:34 2013 +0000 Hints file for android cross-compiling. The hints file names for cross-compiling (currently) need to match the prefix of the cross-compiler used. A hints/linux-androideabi.sh commit 6382076be0b04dabf85ca17b50b6f45210c5219a Author: Jess Robinson <[email protected]> Date: Fri Jan 4 10:47:48 2013 +0000 Build host miniperl and generate_uudmap binaries when cross compiling, for local use M Configure M Makefile.SH commit cf17e815311d34a8374c42f5f1a01f32da3771e5 Author: Jess Robinson <[email protected]> Date: Wed Jan 2 14:55:59 2013 +0000 Stop using Config{run} to check the version of (mini)perl we are running M cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm commit d7d07b1ff122f282f6dc9c2fc4e19c8ebabdfe1f Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:32:30 2012 +0000 Setup $^O to be the target os when building Core. This allows the correct hints files to be loaded when building modules M write_buildcustomize.pl commit f1668b8f4edd45f4fbe17904ff0772ebeb7b014e Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:31:05 2012 +0000 No xconfig.h is produced when cross-compiling, we have a normal config.h M perl.h M perlio.c commit ac348098f19ba708ce9dec83b4541d032c185ce6 Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:29:50 2012 +0000 Stop using $run for anything other than testing compiled tests in Configure. (When cross-compiling we want to run miniperl etc on the compile host, not the test target) M Makefile.SH M make_ext.pl M utils/Makefile.SH M x2p/Makefile.SH commit 5c412888230d1ab32ebcb8dc2f3f9531a9b75680 Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:27:13 2012 +0000 Add missing $run prefix to some Configure tests M Configure commit 56194a17fe67f7768b97a0801f987c5923af9487 Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:26:27 2012 +0000 Set appropriate flags for linux or linux-like systems. M Configure commit 1b6f03f9fbe841a4cf6dcbc25f2befdb1e34efbc Author: Jess Robinson <[email protected]> Date: Sat Dec 29 21:23:01 2012 +0000 Revamp usecrosscompile section. Use sysroot for libpath/incpath if set. Set to/from/run scripts if targethost is passed, regardless of whether we are cross compiling M Configure commit b5b2dea2b88bfd5395b4a007a27c47b10a40141b Author: Jess Robinson <[email protected]> Date: Sat Dec 29 19:41:42 2012 +0000 Rollback sysrootflag idea, add --sysroot to ccflags etc so that make in ExtUtils::MakeMaker etc will use it M Configure commit 872adbaaaedc26e74af99eddd5da96eea3a445da Author: Jess Robinson <[email protected]> Date: Fri Nov 30 12:34:06 2012 +0000 Use the pure "sysroot" value from $Config to lookup sysroot path. Useful in cross-compiling. M ext/Errno/Errno_pm.PL commit 49f8db2a0760dd76ce5950fae6bc9c2e73e71280 Author: Jess Robinson <[email protected]> Date: Fri Nov 30 11:59:23 2012 +0000 Pass the --sysroot flag to the compiler, if -Dsysroot= is used. This is a preparation step for better Cross-Compiling support. M Configure commit a8a367b25b60ce9805181bb5b9fb9f47223ebaa9 Author: Jess Robinson <[email protected]> Date: Fri Oct 19 19:05:25 2012 +0100 Introduce sysroot variable to Configure This is borrowed from gcc and allows us to indicate the logical root directory for headers and libraries, under which all -I and -L are searched for. This patch adjusts Configure to search under $sysroot (if supplied) for headers and libraries, instead of /. $libsearchpth is also introduced to track the absolute paths of found libraries. $libpath continues to list the relative paths to pass to -L. M Configure ----------------------------------------------------------------------- -- Perl5 Master Repository
