diff options
author | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
commit | 84adefa331c4159d432d22840663c38f155cd4c1 (patch) | |
tree | bff9a9c66adda4df2106dfd0e5c053ab182a12bd /xcomp/README.xcomp | |
download | otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2 otp-84adefa331c4159d432d22840663c38f155cd4c1.zip |
The R13B03 release.OTP_R13B03
Diffstat (limited to 'xcomp/README.xcomp')
-rw-r--r-- | xcomp/README.xcomp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xcomp/README.xcomp b/xcomp/README.xcomp new file mode 100644 index 0000000000..4df9226a96 --- /dev/null +++ b/xcomp/README.xcomp @@ -0,0 +1,25 @@ +This directory contains configuration file templates and examples for +cross compiling Erlang/OTP. The configuration files should be supplied to +$ERl_TOP/otp_build in the ./otp_build env_cross command to set up an +appropriate environment for cross compiling. + +Copy the template file erl-xcomp.conf.template to an appropriate name +and fill in at least the mandatory parts before attempting cross +compilation. See the template file for details on configuration +parameters and see the example erl-xcomp-TileraMDE2.0-tilepro.conf for +an example of a working configuration file. + +The support for cross compiling is in it's early stage of development, +it works for cross compiling some gnu/linux systems, but has only been partly +tested for more esotheric platforms. The vxworks example file is highly +dependent on our environment and is here more or less for internal use. + +Please submit any patches for cross compiling in a way consistent with +this system. Variables should be added to the configuration file, +which is sourced both by $ERL_TOP/otp_build and each configure +script. If a new configuration variable is needed for your system, add +it to the template file, use it in otp_build and/or configure and +submit the patch to erlang-patches for further integration into the +main branch. All input is welcome as we cannot possibly have all cross +compiling environments out there to test with. + |