How to test Arm cross compiler?
Jeff Law
jeffreyalaw@gmail.com
Sun Feb 23 17:36:41 GMT 2025
On 2/23/25 9:18 AM, Jan Dubiec via Gcc wrote:
> To my surprise, I have just found out that Arm simulator has been
> deprecated: https://sourceware.org/git/?p=binutils-
> gdb.git;a=commit;h=aec7815b4b78d4dcd2261f1dab1092dbf4a9e0be.
>
> Taking that into account what is the "official" way to test the Arm
> cross compiler? Are there any documents?
These days I'd be QEMU is the best approach if you don't have hardware.
Not sure if there's any reasonable documentation on it. The embecosm
folks might have suitable docs on their web page along with the dejagnu
configuration files.
I personally prefer to use binfmt handlers since it doesn't require any
dejagnu hackery and once the binfmt handlers are set up you can do so
much more than just run individual tests in the testsuite easily. For
example, if you have a RFS you can do full bootstraps rather than just
testing crosses.
jeff
More information about the Gcc
mailing list