This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]