In perl.git, the branch smoke-me/jrobinson/configure-for-cross has been created
<http://perl5.git.perl.org/perl.git/commitdiff/46b24b502800863eed919941d961bd20c3957e93?hp=0000000000000000000000000000000000000000> at 46b24b502800863eed919941d961bd20c3957e93 (commit) - Log ----------------------------------------------------------------- commit 46b24b502800863eed919941d961bd20c3957e93 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 9540193a9166ca534a02ba456b4f66d31c5a8822 Merge: d844cd8 e0deffa Author: Jess Robinson <[email protected]> Date: Tue Jan 15 12:28:02 2013 +0000 Merge branch 'jrobinson/configure-for-cross' of github.com:castaway/perl into jrobinson/configure-for-cross Conflicts: Configure Makefile.SH commit d844cd898a3960c7c17c7244be33494a387afe32 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 cb3799fe46c4920cb719dcf29fd0a58ad61c22d2 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 2bfd9a95c1a169e8cc4e48be10d51b31605a03eb 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 e66abceae1f9cccdc1c1a8ffccabc9ec61009214 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 0a760326f1be52e16aa079b8ad8f794bb6af0774 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 f2051d6c418d799c084554a2767d6ab470783ce0 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 e79b5f1f835bb9dbdde07d8aef2989d1dcc2ea8b Author: Jess Robinson <[email protected]> Date: Wed Jan 9 10:42:22 2013 +0000 Fix accidental bashisms introduced into Configure M Configure commit d628430a6ee9c5982dca2a082f45f3a278537fd9 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 a34994641beaca32b0eee023cbb494fbd4a849e8 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 edf5b6b50219e1e73045558d0464094f6d17b22b 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 01f2e0d5635f512f55d90c4781d56c0f99cf3487 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 cb4357e5df1ebb736e7366a52cb46e4646da2a48 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 1756eef7c00a4aabdd37e6dc039d228fc21f84bc 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 84a230eca76e57500266b6b402b13836716d4432 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 16d2857e6f6306515ac605f9cea646ebd64503b2 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 ea3264ad1c8de7130f6cd89762458bbc28da50a0 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 9fce1ef8d7fb8fc0fe53f26e985e440c7e7e1e7a 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 7506d4709492612eeaaa3b5799a474d813d0bd13 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 ee7a64253a4ce2758551055459131a8dd59c9ca6 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 8b8ea85498b2b4130b9f0496ecb1376818bf8f92 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 commit e0deffac6019be91ee7fb26afb86c78f53982153 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 547cc668d0272652429032e55882d28925a2d2de 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 d3d54d4b5cb047ceed6284c9ea774f0ddafb8cac 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 ed7591e5156a68bfaef0ca40154ea09c8f71b55f 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 b91e90780cda737a4ca0f9fa9bfea99ef40550dc 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 75288f25bf6ff04089da797e718641ab9e68ff82 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 203188971c7b9fc420240e73d0ccd4fe9021349e 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 52a7aad5d9c26421a427620b4068d82278e3dbac 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 36710f54c462548c09d0d957ea2b915ac154ca7d 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 9a2b557921634bdaa16df3e4c151b69de9b68b56 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 0018392ac6a3f5cb8c89e801d1bd02957768cd2b 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 27a05112c89692cae93f7882eb80de16d5b2c368 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 e6b98173b10d5e51a51c086268053d2d0605f5de 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
