Page 1 of 1

Need Help Getting Started

Posted: Mon Jan 15, 2024 7:04 am
by cityslicker
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 :)

Re: Need Help Getting Started

Posted: Tue Jan 16, 2024 6:43 pm
by WinterMute
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.

Re: Need Help Getting Started

Posted: Fri Jan 19, 2024 3:42 pm
by cityslicker
Thanks, I got it to work. Probably not the most elegant solution, but I am just using an arch chroot