diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-15 00:15:52 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-15 00:15:52 +0000 |
commit | 5440bc8ef38c925fa824ae72b6c7ad2f21cbda6e (patch) | |
tree | 33768a0c14b79a902fd43151b9ff12ca93f62233 /hints | |
parent | d31cdfb6c818e318a1eec541457f7fecc9be0d36 (diff) | |
download | perl-5440bc8ef38c925fa824ae72b6c7ad2f21cbda6e.tar.gz |
The first steps towards cross-compilation.
Abstract execution of compiled test executables with $run,
and abstract transfer of files with $to and $from.
Under cross-compilation the $run, $to, and $from will point
to appropriate wrapper scripts, by default ssh and scp,
but also rsh, rcp, and cp are supported. If not
cross-compiling, they will be set to '', ':', and ':',
respectively.
With these patches I was able to get Configure for
iPAQ ARM Linux on an Intel Linux about 95% right
(only a few tests failed to execute or they produced
incorrect results), and I was able to compile
a functional miniperl.
The symbol crosscompile renamed to be usecrosscompile,
the corresponding C symbol from CROSSCOMPILE to
USE_CROSS_COMPILE.
p4raw-id: //depot/perl@10592
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index a6b2bd985a..3234aeaa18 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -119,7 +119,7 @@ main() { exit(0); /* succeed (yes, it's ELF) */ } EOM -if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then +if ${cc:-gcc} try.c >/dev/null 2>&1 && $run ./a.out; then cat <<'EOM' >&4 You appear to have ELF support. I'll try to use it for dynamic loading. |