The first steps towards cross-compilation.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 15 Jun 2001 00:15:52 +0000 (00:15 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 15 Jun 2001 00:15:52 +0000 (00:15 +0000)
commit5440bc8ef38c925fa824ae72b6c7ad2f21cbda6e
tree33768a0c14b79a902fd43151b9ff12ca93f62233
parentd31cdfb6c818e318a1eec541457f7fecc9be0d36
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
23 files changed:
Configure
Cross/README
Makefile.SH
Porting/Glossary
Porting/config.sh
Porting/config_H
config_h.SH
configure.com
epoc/config.sh
hints/linux.sh
pod/perltoc.pod
uconfig.h
uconfig.sh
vos/config.alpha.def
vos/config.alpha.h
vos/config.ga.def
vos/config.ga.h
win32/config.bc
win32/config.gc
win32/config.vc
win32/config_H.bc
win32/config_H.gc
win32/config_H.vc