TODO
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed Jun 08 15:47:43 2011 +0200 (2011-06-08)
changeset 2508 9e2761e59a75
parent 1512 439a6b292917
child 2564 5d4e91c0343e
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>
yann@1335
     1
This is a somewhat ordered TODO list:
yann@1335
     2
yann@1335
     3
Recuring tasks:
yann@1335
     4
yann@1335
     5
- update versions for every tools...
yann@1335
     6
yann@1731
     7
- update and/or upgrade all samples
yann@1731
     8
yann@1335
     9
yann@1403
    10
Non-recurring tasks:
yann@1335
    11
yann@1731
    12
- update newlib (for enhanced bare metal)
yann@1731
    13
  - confirm existing implementation on targets other than AVR32
yann@1731
    14
  - try to make it generic, will help for uClibc++
yann@1512
    15
yann@1731
    16
- multilib
yann@1335
    17
yann@1731
    18
- Cygwin target (needs newlib)
yann@1731
    19
  - so we can build toolchains that generate code for Windows/Cygwin
yann@1731
    20
yann@1731
    21
- Cygwin host
yann@1731
    22
  - so we can build toolchains that run natively under Windows/Cygwin
yann@1731
    23
yann@1731
    24
- mingw32 target
yann@1731
    25
  - so we can build toolchains that generate code for Windows/Win32
yann@1731
    26
yann@1731
    27
- mingw32 host
yann@1731
    28
  - so we can build toolchains that run natively under Windows/Win32
yann@1731
    29
    (without requiring Cygwin)
yann@1335
    30
yann@1335
    31
- uClibc++
yann@1335
    32
  - see newlib, above
yann@1335
    33
yann@1731
    34
- uClinux
yann@1731
    35
  - check whether we can use newlib under uClinux (?)