when attempting to use arm-none-eabi-gcc I get an "invalid -march=" option error message. This occurs when no -march option is specified or any of the valid march options are specified.
arm-none-eabi-gcc -c test.c Assembler messages:Fatal error: invalid -march= option: `armv4t'
arm-none-eabi-gcc --version arm-none-eabi-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009Copyright (C) 2023 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
arm-none-eabi-gcc was obtained from the following link:
developer.arm.com/.../arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
I'm using an amd x86 linux RH8 system. I assume it's some sort of setup issue
Any pointers on how to resolve would be appreciated. Thanks.
Can you search for the presence of a prebuilt assembler? -march option usually defaults to armv4t in the absence of a prebuilt assembler.