Testsuite differences between native and cross build
Andreas Schwab
schwab@suse.de
Tue Jul 22 14:22:18 GMT 2025
On Jul 22 2025, Stefan Schulze Frielinghaus via Gcc wrote:
> and the cross build with
>
> --target=x86_64-linux-gnu
> --enable-languages=c
> --without-headers
> --enable-checking=yes,rtl
> --disable-nls
Using --without-headers can subtly change the compiler, better use a
sysroot.
> Since I have basically zero DejaGnu experience, I'm probably just
> missing a detail here. Not sure what the warning about the target
> board is about.
It is only relevant for tests that execute a target binary, which a
dg-do compile test doesn't.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Gcc
mailing list