On 8/8/2010 1:59 PM, Ralf Wildenhues wrote:
> Thank you for investing the work in this. If you're really motivated,
> then it would still be nice to have such a test, but obviously it's not
> a big help, so might as well skip that then.
So, you suggesting *possibly* a test where:
if not cross-compiling
if (the native) ld supports --sysroot
1. create a fake sysroot (contents TBD?)
2. execute sysroot.at contents as a subtest, with
native toolchain + --sysroot=my-fake-sysroot
else
skip
else
skip
Basically, when not cross compiling, the sysroot.at tests are currently
skipped. This new test would, in that case, attempt to run the same
tests using the native compiler -- but only if the native toolchain
supports --sysroot. (Which NONE do, as far as we can tell!)
If so, I guess I could give that a try; I'd need to build a replacement
system toolchain (maybe just binutils?) with --with-sysroot=/ first, tho.
--
Chuck