[AVR] Missing avr51-flash1.x in avr target specific tests?
Georg-Johann Lay
avr@gjlay.de
Thu Oct 4 14:06:00 GMT 2012
Senthil Kumar Selvaraj wrote:
> Some tests in gcc/testsuite/gcc.target/avr/torture (builtins-2.c, for
> e.g.) have -Tavr51-flash1.x specified in dg-options. The tests currently
> fail with an unable to open linker script error for that file.
>
> Is that linker script supposed to be checked into source control? Or am
> I missing some configure/build option?
I found no way to specify a linker script for one single test and supply that
linker script in the testsuite source tree.
It's likely that I used the wrong approach just because my limited knowledge on
DejaGNU and GCC testsuite framework.
The linker script must be located in a place where the compiler will search for
it, e.g. some directory that contains the .x and that you added per -L to the
ldflags in your DejaGNU board description.
Johann
More information about the Gcc
mailing list