diff options
author | Uri Simchoni <urisimchoni@gmail.com> | 2015-08-10 12:37:09 +0300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-08-10 23:02:54 +0200 |
commit | 1d3e6b5c2fb7f29fac411259c58f47110c98001b (patch) | |
tree | 367c14031edeaca335c8af3c28194597ed9b5721 | |
parent | f8b5de91379d44ca717f4c2fe7620ea7f738f5eb (diff) | |
download | samba-1d3e6b5c2fb7f29fac411259c58f47110c98001b.tar.gz |
WHATSNEW: Add description of improved cross-compilation support
Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | WHATSNEW.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 636f5185727..a657a9e7156 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -218,6 +218,39 @@ sample call-out is provided for NFS Ganesha, based on this script. The method of configuring NFS RPC checks has been improved. See ctdb/config/nfs-checks.d/README for details. +Improved Cross-Compiling Support +-------------------------------- + +A new "hybrid" build configuration mode is added to improve +cross-compilation support. + +A common challenge in cross-compilation is that of obtaining the results +of tests that have to run on the target, during the configuration +phase of the build. The Samba build system already supports the following +means to do so: + + - Executing configure tests using the --cross-execute parameter + - Obtaining the results from an answers file using the --cross-answers + parameter + +The first method has the drawback of inaccurate results if the tests are +run using an emulator, or a need to be connected to a running target +while building, if the tests are to be run on an actual target. The +second method presents a challenge of figuring out the test results. + +The new hybrid mode runs the tests and records the result in an answer file. +To activate this mode, use both --cross-execute and --cross-answers in the +same configure invocation. This mode can be activated once against a +running target, and then the generated answers file can be used in +subsequent builds. + +Also supplied is an example script that can be used as the +cross-execute program. This script copies the test to a running target +and runs the test on the target, obtaining the result. The obtained +results are more accurate than running the test with an emulator, because +they reflect the exact kernel and system libraries that exist on the +target. + ###################################################################### Changes |