Can't compile aarch64-wrs-vxworks target in GCC10

I am unable to build a custom toolchain for target “aarch64-wrs-vxworks” in GCC10. Is this target supported by default in all GCC releases?

Current releases of VxWorks use clang/lvm for aarch64 support. Do you have a special reason for building a gcc-based aarch64 toolchain?

Thanks Dan for your response. I am using vxworks 5.4.x version and the target cpu is armv8(cortex A53). So I am trying to build aarch64-wrs-vxworks target with gcc10.3.0 toolchain. But the gcc reports that this target is not supported. Previously I have built the powerpc-wrs-vxworks with gcc6.4.0, but I didn’t face any error. Is it possible to compile gcc10.3.0 for aarch64-wrs-vxworks with some modifications? Any suggestions are welcome. Thanks

*** Configuration aarch64-wrs-vxworks not supported
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/r34kumar/gcc10.3.0/build/gcc’
make: *** [all] Error 2

I don’t think GCC 10 was ever used in VxWorks. As far as I remember the last GCC version which was supported in VxWorks was in the 8.x series, and that was for PowerPC.

1 Like

Thanks Dan for your support.