gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Devkitadv on FreeBSD?

#9419 - Fossie - Mon Aug 04, 2003 1:55 pm

Has anyone here been able to get devkitadv r4 (with c++ support) to compile under FreeBSD (4.8)? I have tryed now for some time now, but i can't make it work. I have been able to make it compile without the c++ support, but when i try to use it i get this error:

Code:

[14:48] fossie@navi ~/projects/gba> /usr/local/devkitadv/bin/arm-agb-elf-gcc -O3 -mthumb -o test test.c
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/bin/ld: section .iwram [08000314 -> 080003db] overlaps section .fini [08000314 -> 08000323]
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/lib/thumb/crt0.o: In function `jump_intr':
/usr/local/devkitadv/lib/gcc-lib/arm-agb-elf/3.1/../../../../arm-agb-elf/lib/thumb/crt0.o(.iwram+0xc4): undefined reference to `IntrTable'
collect2: ld returned 1 exit status


The changes i have made in the Makefile of devkitadv is to use gmake instead of make and patch -l -p0 < instead of patch --strip=1 --input= and dissabled c++.

Anyone who know how to make it work of have any diffs for FreeBSD?