This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
testsuite; Pass down --enable-auto-import.
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: gdb at sourceware dot org
- Date: Sun, 30 Jul 2006 11:05:14 +0100
- Subject: testsuite; Pass down --enable-auto-import.
Hi guys,
I'm trying to run the testsuite for arm-wince-pe target.
I'm getting a bunch of these:
"Running
/cygdrive/d/cegcc/trunk/cegcc/src/gdb-cvs/gdb/testsuite/gdb.base/all-bin.exp
...
gdb compile failed, Info: resolving _CRT_MT by linking to __imp__CRT_MT
(auto-import)
WARNING: Testcase compile failed, so all tests in this file will
automatically fail."
Since ld's --enable-auto-import removes that warning, I've tried:
>make check 'CFLAGS_FOR_TARGET=-Wl,--enable-auto-import
LDFLAGS_FOR_TARGET=--enable-auto-import'
and also:
>export CFLAGS_FOR_TARGET=-Wl,--enable-auto-import
>export LDFLAGS_FOR_TARGET=--enable-auto-import
>make check
But still, I get the error.
Any hints (, besides hacking ld to remove the warning)?
Cheers,
Pedro Alves