.hgignore
author Daniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
changeset 3126 333d3e40cbd1
parent 2836 1c4f3be68a6d
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
yann@1412
     1
syntax: glob
yann@1412
     2
yann@1412
     3
# Generated files
yann@2834
     4
configure
yann@2834
     5
autom4te.cache
yann@2834
     6
config.log
yann@2834
     7
config.status
yann@1412
     8
Makefile
yann@2622
     9
*ct-ng*
yann@2622
    10
docs/*ct-ng*.1
yann@2622
    11
docs/*ct-ng*.1.gz
yann@1412
    12
paths.mk
yann@2838
    13
paths.sh
yann@1412
    14
scripts/crosstool-NG.sh
yann@1412
    15
scripts/saveSample.sh
yann@1412
    16
scripts/showTuple.sh
yann@1412
    17
kconfig/conf
yann@2454
    18
kconfig/?conf
yann@1412
    19
kconfig/**.o
yann@1412
    20
kconfig/**.dep
yann@2836
    21
kconfig/lex.backup
yann@2836
    22
kconfig/lex.zconf.c
yann@2836
    23
kconfig/zconf.hash.c
yann@2836
    24
kconfig/zconf.tab.c
yann@2481
    25
config/configure.in
yann@1412
    26
config.gen/
yann@1412
    27
.config
yann@2468
    28
.config.2
yann@2133
    29
yann@2133
    30
# Temporaries
yann@2133
    31
.*.swp
yann@2339
    32
build.log
yann@1412
    33
.config.old
yann@2133
    34
yann@2133
    35
# This is the place where toolchains are built
yann@2133
    36
.build/
yann@2133
    37
# .. and the legacy location
yann@1412
    38
targets/