Makefile cannot find gcc toolchain after installing

support for the ARM toolchain
Post Reply
Bakers
Posts: 1
Joined: Wed Oct 23, 2024 6:57 pm

Makefile cannot find gcc toolchain after installing

Post by Bakers » Wed Oct 23, 2024 7:13 pm

Hi there,

I just recently got into the beginnings of programming and stuff and have still much to learn.

However I just recently discovered devkitARM for the development of software for ARM based applications -> especially for Nintendo consoles.

I installed devkitARM via the devkitPro graphical installer on my Windows 10 PC.
Also did I install the MinGW x64 for the C and C++ Compiler and set System Variable to its BIN Folder -> C:\MinGW\bin
Now I wanted to try around with this software and cloned a github repository and wanted to build the project with the "make" command.
I switched into the directory, in the project folder where the make file is located and executed the make command.

Now I got this error message:
$ make
Makefile:4: *** "Native GCC is missing. Please install it first. If it's path is custom, set it with export NATIVE_CC=<path to native gcc toolchain>". Stop.
make: *** [Makefile:97: tools/lz] Error 2

This sounds to me that devkit or Msys2 cant find the correct path for the gcc / c compiler from the sytem variables.

I did play around with the command export NATIVE_CC=C:\MinGW\bin which was described above in MSYS2.

However no way of working...

Any idea how can I fix this?


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests