testsuite; Pass down --enable-auto-import.

Pedro Alves pedro_alves@portugalmail.pt
Sun Jul 30 22:25:00 GMT 2006


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



More information about the Gdb mailing list