README
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed Jun 08 15:47:43 2011 +0200 (2011-06-08)
changeset 2508 9e2761e59a75
parent 1575 eb92c99b17cd
child 2725 32aa23619dfd
permissions -rw-r--r--
debug/cross-gdb: check host dependencies

Cross-gdb depends on expat and python. If either is missing, cross-gdb will
build successfully, but lacking some features.

Especially, if expat is missing, cross-gdb will be unable to parse the target
description, which may lead to runtime malfunctions and the following GDB
warning:
"Can not parse XML target description; XML support was disabled at compile time"

Hence, expat should be considered mandatory.

On the other hand, the features missing without python are not critical, so
python should not be considered mandatory.

This patch does the following:
- At configure time, warn the user if either expat or python is missing.
- In menuconfig, disable the static build options regarding cross-gdb if no
static version of expat is available, and disable cross-gdb if expat is
missing.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@anciens.enib.fr: add comment for impossible static cross-gdb]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 This is the README for crosstool-NG
     2 
     3 Crosstool-NG follows the autoconf dance. So, to get you
     4 kick-started, just run:
     5   ./configure --help
     6 
     7 You will find the documentation in the directory 'docs'.
     8 Here is a quick overview of what you'll find there:
     9   0 - Table of content
    10   1 - Introduction
    11   2 - Installing crosstool-NG
    12   3 - Configuring a toolchain
    13   4 - Building the toolchain
    14   5 - Using the toolchain
    15   6 - Toolchain types
    16   7 - Contributing
    17   8 - Internals
    18   A - Credits
    19   B - Known issues
    20   C - Misc. tutorials
    21 
    22 You can also point your browser at:
    23   http://ymorin.is-a-geek.org/projects/crosstool
    24 
    25 Aloha!