TODO
author Daniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
changeset 3126 333d3e40cbd1
parent 1731 648fcf1f4568
child 3306 80e46e644bc0
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@1335
     1
This is a somewhat ordered TODO list:
yann@1335
     2
antony@2564
     3
Recurring 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 (?)