[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: [bug-gnulib] new module lib-ignore; new section bui
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html |
Date: |
Thu, 12 Jan 2006 14:04:45 +0100 |
User-agent: |
KMail/1.5 |
Paul Eggert wrote:
> + [for gl_ldd in \
> + ldd \
> + 'chatr' \
> + 'dump -H' \
> + 'elfdump -Dl' \
> + 'odump -Dl' \
> + 'otool -L' \
> + :; do
> + gl_ldd_output0=`($gl_ldd conftest$ac_exeext) 2>/dev/null` && break
> + done])
This code probably won't work when cross-compiling, because it mixes
host platform and target tools.
If you use the new 'ldd' module, it
- should work also when cross-compiling,
- should be immune to changed addresses in the output of 'chatr',
'dump -H', 'elfdump -Dl', 'ldd', 'odump -Dl',
- simply feels safer to use the appropriate command for each system,
rather than trying "chatr" or "odump" on every system.
To use the 'ldd' module is simple:
- add an AC_REQUIRE([gl_LDD]),
- use
$LDDPROG conftest$ac_exeext $LDDPOSTPROC
instead of
($gl_ldd conftest$ac_exeext) 2>/dev/null
Bruno
- new module lib-ignore; new section build_lib in MODULES.html, Paul Eggert, 2006/01/09
- Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html, Bruno Haible, 2006/01/11
- Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html, Paul Eggert, 2006/01/11
- Re: [bug-gnulib] Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html,
Bruno Haible <=
- Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html, Ralf Wildenhues, 2006/01/13
- Re: new module lib-ignore; new section build_lib in MODULES.html, Paul Eggert, 2006/01/18
- Re: new module lib-ignore; new section build_lib in MODULES.html, Ralf Wildenhues, 2006/01/18
- Re: new module lib-ignore; new section build_lib in MODULES.html, Bruno Haible, 2006/01/18
- Re: new module lib-ignore; new section build_lib in MODULES.html, Ralf Wildenhues, 2006/01/18