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.
Hi Ronan, I see the same with the windows version. The test.c could be anything, I see the fail with your example and even with just "void foo(){}"
I should clarify. I too see the windows version work as expected. The linux version is where I see the issue.
I tested on Ubuntu and RH8, and it 'just works'.
There is nothing obvious in the 'known dependencies' section of the release notes.
You could try to reinstall? Perhaps something went wrong the first time?
Sorry, I am not sure how to help further.