Add comment about disabling crossgen command for cross build
authorGeunsik Lim <geunsik.lim@samsung.com>
Thu, 10 Mar 2016 00:56:27 +0000 (09:56 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Thu, 10 Mar 2016 00:56:27 +0000 (09:56 +0900)
As we all know, the current cross build generates exectuable
'crossgen' with arm architecture (without x86 architecture).
So, it can not be run to make mscorlib.ni.dll from mscorlib.dll
on X86-based build machine.
Let's add a comment why we have to skip crossgen command in
build_mscorlib() of build.sh in case of cross build for Linux/ARM.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
build.sh

index a5723af55f601fd7bf7ec66fb5ba117887115f75..e98b026bc4152390170054d4dd5af4be126ac464 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -248,6 +248,8 @@ build_mscorlib()
         exit 1
     fi
 
+    # The cross build generates exectuable 'crossgen' with arm architecture (without x86).
+    # It can not be run to make mscorlib.ni.dll from mscorlib.dll on X86-based build machine.
     if [ $__CrossBuild != 1 ]; then
        if [ $__SkipCoreCLR == 0 -a -e $__BinDir/crossgen ]; then
            echo "Generating native image for mscorlib."