In perl.git, the branch smoke-me/jrobinson/configure-for-cross has been created
<http://perl5.git.perl.org/perl.git/commitdiff/eabff7c07aae359ef11377cc5c09dc5b28671a3b?hp=0000000000000000000000000000000000000000> at eabff7c07aae359ef11377cc5c09dc5b28671a3b (commit) - Log ----------------------------------------------------------------- commit eabff7c07aae359ef11377cc5c09dc5b28671a3b 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 cc13a6f0f1119ba1e2e767e6b46e50487de7ad9f 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 a698131ee2e9ee6be586c70ae604e67b61813820 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 4d0524288e16c7ce9041aa654c97ddcb13f91179 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 4368d6ee8e93eb5412fc5ea8eba5729dc2dc4b97 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 42c2e1b580b2f2e11c946412790e33c9b79812dc 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 9cd59aa0890e0b63fbf68370700a267c9f6b1ced 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 a95a741bf663f217659f887cba0514efc4c45e67 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 25e970e25b1f2d67a922f180bc1481a2a39c623f 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 e9cb24e361e9199e9fc8317cbb217a04ca4d6ddb 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 cef4ecae3fa2342358b5a140f176c6a1d85e1dba 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 68e4b49ff5cd2f4b5874e4211ffa248bf9ffbb2d 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 78be9a4728ea1719d45e5f2fac1dafaa4b9a896c 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 1d21f0a7d77b6ca226737e07f14a0f1e4b5c896b 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 f94478e3a628b9273f238b98a30e73d376497d9d Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:42:22 2013 +0000 Fix accidental bashisms introduced into Configure M Configure commit 2ad856aaa149d4f863d7c8aa7c2336a779a27355 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 dd5896995d44bbf85c6d65ec4ff3e551c1eb660d 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 5e92c55bf2895bfbf9b7b0fc7e37e9e100584b9e 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 f353f784d1b3a493056248d9e7c1bdc86ad181b3 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 711e208734b4a628ef4c1fe6fb05cdc4908167d4 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 caa47d918022568b19957ad7d8cc6cc29ed943ae 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 cc8fad85ac19195f32aa0789bf45c4f455533bed 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 b8d87cb236fc24012774d5e1ad359f801e2dc152 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 e0ee1dffc768b813f27f65360c75e111ee1cc700 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 421e44b9b0ab5b2dda5bde9bdc5d2b2a96235098 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 aa8eea0172b49f6e7deb337e77aa417b5a8e64f9 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 2e93f15cbce7a1cd8b16e82a6047456735329465 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 555fccd892f00b7763a571257319035fd8bbf6b9 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
