I'm trying to build valgrind to target baremetal arm cortex-m (based on armv8-m architecture). The host is a x86 wsl environment. How do I specify this while trying to configure valgrind.
For ex: To configure you need to do the following
./configure --target=""
What should be the value for target. I've tried multiple values such as arm-none-eabi, armv8-m etc., with no luck. Is this scenario even possible.
Edit: Host is x86 wsl and that's where I'll be running valgrind
./configure --host=aarch64-unknown-linux
.