> What are you trying to do? Just compile test cases? Execute them,
> too? Is this for an embedded target, with a cross-compiler?
Yes this is for AVR-GCC. I want to both compile and execute test cases.
I am trying to make a testsuite for target specific features.
> I suggest you look at the gcc/testsuite/gcc.target directory in the
> GCC tree as a starting point. Unless you have a very good reason, you
> should put these tests inside the GCC tree. It will be much less
The initial idea was to have the testsuite separately. But I think putting the target specific tests in the gcc.target directory is also a good option.