arm-none-eabi-gcc can't actually compile anything
Posted: Sat Feb 23, 2019 4:46 am
Apologies if this is in the wrong board.
I am on 64-bit Windows 10 and I used the installer. I opted to only include the files for GBA development. After doing a clean install, I can't actually compile anything.
I get no output, and the return code is 1.
And, just to be extra clear, no it doesn't create a test.o.
The same thing happens regardless of what I try to compile.
I am on 64-bit Windows 10 and I used the installer. I opted to only include the files for GBA development. After doing a clean install, I can't actually compile anything.
I get no output, and the return code is 1.
Code: Select all
$ /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc --version
arm-none-eabi-gcc.exe (devkitARM release 51) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat test.c
void foo() {}
$ /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -c test.c
$ echo $?
1
The same thing happens regardless of what I try to compile.