samples/powerpc-405-linux-gnu/reported.by
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:28 2010 +0100 (2010-11-23)
changeset 2188 aa2305c5b2a5
permissions -rw-r--r--
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@960
     1
reporter_name="Julien DUSSER"
yann@960
     2
reporter_url="http://sourceware.org/ml/crossgcc/2008-10/msg00054.html"
yann@960
     3
reporter_comment="Soft-float for the 405 PowerPC"