* testsuite; Pass down --enable-auto-import.
@ 2006-07-30 22:25 Pedro Alves
2006-07-31 9:46 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2006-07-30 22:25 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: testsuite; Pass down --enable-auto-import.
2006-07-30 22:25 testsuite; Pass down --enable-auto-import Pedro Alves
@ 2006-07-31 9:46 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-07-31 9:46 UTC (permalink / raw)
To: Pedro Alves; +Cc: gdb
On Sun, Jul 30, 2006 at 11:05:14AM +0100, Pedro Alves wrote:
> >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)?
You've got a board file, right? Try 'set_board_info ldflags
"-Wl,--enable-auto-import"'.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-30 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30 22:25 testsuite; Pass down --enable-auto-import Pedro Alves
2006-07-31 9:46 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox