Need Help Getting Started

support for the ARM toolchain
Post Reply
cityslicker
Posts: 2
Joined: Mon Jan 15, 2024 6:54 am

Need Help Getting Started

Post by cityslicker » Mon Jan 15, 2024 7:04 am

Hello everyone, I'm attempting to build an example program, but am having issues. I'm on Alpine Linux. I have installed pacman and installed all of the 3ds libraries with `pacman -S 3ds-dev` However when I run `make` I receive the following

Code: Select all

/opt/devkitpro/examples/3ds/graphics/printing/hello-world $ make
main.c
bash: line 1: /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc: cannot execute: required file not found
make[1]: *** [/opt/devkitpro/devkitARM//base_rules:39: main.o] Error 127
make: *** [Makefile:165: all] Error 2
I don't know if the required file not found refers to `/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc` but that file does exists.

Any guidance would be appreciated :)

WinterMute
Site Admin
Posts: 1859
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Need Help Getting Started

Post by WinterMute » Tue Jan 16, 2024 6:43 pm

The binaries we supply are built against glibc so they may work if you install the gcompat package. I'm really not sure.

If that doesn't help then run ldd on the binaries that fail to see if there's a missing library or perhaps strace will help narrow it down.
Help keep devkitPro toolchains free, Donate today

Personal Blog

cityslicker
Posts: 2
Joined: Mon Jan 15, 2024 6:54 am

Re: Need Help Getting Started

Post by cityslicker » Fri Jan 19, 2024 3:42 pm

Thanks, I got it to work. Probably not the most elegant solution, but I am just using an arch chroot

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests