samples/i686-unknown-mingw32/crosstool.config
author Daniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
changeset 3126 333d3e40cbd1
child 3142 6569f6a9060c
permissions -rw-r--r--
scripts: refine static linking check to better guide the user

The current mechanism to check if static linking is possible, and the mesage
displayed on failure, can be puzzling to the unsuspecting user.

Also, the current implementation is not using the existing infrastructure,
and is thus difficult to enhance with new tests.

So, switch to using the standard CT_DoExecLog infra, and use four tests to
check for the host compiler:
- check we can run it
- check it can build a trivial program
- check it can statically link that program
- check if it statically link with libstdc++

That should cover most of the problems. Hopefully.

(At the same time, fix a typo in a comment)

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
[yann.morin.1998@free.fr: use steps to better see gcc's output]
[yann.morin.1998@free.fr: commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
diorcet@3112
     1
CT_EXPERIMENTAL=y
diorcet@3112
     2
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
diorcet@3112
     3
CT_SAVE_TARBALLS=y
diorcet@3112
     4
CT_LOG_EXTRA=y
diorcet@3112
     5
CT_ARCH_ARCH="i686"
diorcet@3112
     6
CT_ARCH_32=y
diorcet@3112
     7
CT_ARCH_x86=y
diorcet@3112
     8
CT_KERNEL_windows=y
diorcet@3112
     9
CT_BINUTILS_V_2_21_1a=y
diorcet@3112
    10
CT_BINUTILS_PLUGINS=y
diorcet@3112
    11
CT_CC_V_4_5_2=y
diorcet@3112
    12
CT_CC_LANG_CXX=y
diorcet@3112
    13
CT_MINGW_DIRECTX=y
diorcet@3112
    14
CT_MINGW_DDK=y
diorcet@3112
    15
CT_GMP_V_4_3_2=y
diorcet@3112
    16
CT_MPFR_V_2_4_2=y
diorcet@3112
    17
CT_PPL_V_0_10_2=y
diorcet@3112
    18
CT_CLOOG_V_0_15_10=y