Franxis
MAME 4 ALL
http://www.devkitpro.org/
Now with GCC 4.1.0...
It is for GP32 (also GBA, NDS,...) but not for GP2X.
Now with GCC 4.1.0...
It is for GP32 (also GBA, NDS,...) but not for GP2X.
Nice, I hope there will be a Macintosh version. So far only Windows and Linux.Franxis posted on Apr 11 2006 at 10:12 PM said:http://www.devkitpro.org/
Now with GCC 4.1.0...
It is for GP32 (also GBA, NDS,...) but not for GP2X.
rtb7 posted on Apr 25 2006 at 07:41 AM said:Using this new version with my r17 makefiles, I get an error at link time :
exec: /e/gp32dev/devkitadv2/devkitarm_r18/bin/../lib/gcc/arm-elf/4.1.0/../../../../arm-elf/bin/ld.real: not found
"ld.real.exe" is present in the folder.
any idea ?
# massage path for msys
_ARG0=$(echo $0 | sed -e 's/^([a-zA-Z]):/\/\1/' -e 's/\\/\//g')
# massage path for msys
if [ $OSTYPE = "msys" ]; then
_ARG0=$(echo $0 | sed -e 's/^([a-zA-Z]):/\/\1/' -e 's/\\/\//g')
else
_ARG0=$0
fi
echo "*** SHELL = "`uname -s`" ***"
rtb7 posted on Apr 28 2006 at 02:52 PM said:OS : W2K
I'll try all of that tonight.
thanks a lot
kidchaos2k6 posted on May 1 2006 at 11:13 AM said:- It is possible to work with devkitARM on cygwin? I don't understand the difference with MSYS... If I recompile in cygwin, will it work?
- Anyway, using the current release of devkitARM and trying to recompile the x_gp32 libraries for SDL and testing the first example i only get a blank screen (by the way i saw that arm-elf-gcc has the -enabled-interwork, do i have to use -mno-thumb-interwork and -msoft-float??), in older versions of the compiler in one way or another this examples worked :blink: ... One stupid question, is there some thread implementation (via SDL, or anything) in the GP32?
- One more thing, can someone explain some tips for basic debugging? I test the fxe first with the geepee and then on the machine... The .map files are of any use with the dump of the fw157 firmware?
Trying to generate a mapfile these lines on the makefile doesn't work...
CC= arm-elf-gcc
LD= arm-elf-gcc
...
DOLINK = $(LD) -s -Wl,Map,$(PROGRAM).map $(LDFLAGS) -specs=gp32.specs $(OBJS) $(SYSTEMLIBS) -o $(PROGRAM).elf
DOLINK = $(LD) -s -Wl,-Map,$(PROGRAM).map $(LDFLAGS) -specs=gp32.specs $(OBJS) $(SYSTEMLIBS) -o $(PROGRAM).elf
rtb7 posted on May 2 2006 at 12:42 PM said:rtb7 posted on Apr 28 2006 at 02:52 PM said:OS : W2K
I'll try all of that tonight.
thanks a lot
I downloaded/installed MSYS, removed ".real" extension in ld script and renamed ld.real.exe to ld.exe
and now it works.
WinterMute posted on May 2 2006 at 05:13 PM said:rtb7 posted on May 2 2006 at 12:42 PM said:rtb7 posted on Apr 28 2006 at 02:52 PM said:OS : W2K
I'll try all of that tonight.
thanks a lot
I downloaded/installed MSYS, removed ".real" extension in ld script and renamed ld.real.exe to ld.exe
and now it works.
Hmm, since you renamed ld.real.exe to ld.exe I don't think it will be running the elf2flt script at all. Were you running a different version of make before? Possibly Cygwin - since it actually ran the script you obviously had bash somewhere.
kidchaos2k6 posted on May 3 2006 at 11:46 PM said:Just one more final question, apart from the interrupts in the mirko sdk, i saw on the official SDK docs that there is some threading implementation,... is there any possibility to use any pthread library with gcc??
Regards
kidchaos2k6 posted on May 3 2006 at 11:35 PM said:Thanks for solving me these questions:
I have been for some time testing the different sdk's and libs from the internet and i think that it is possible to make a custom environment on cygwin with the latest devkitarm and mirko sdk libs/crt's
Regarding the stub, i know of it's existence but wouldn't it be great to debug just using the standard USB cable? (at least i like to dream). I wonder how difficult/expensive is to build a JTAG-USB cable for using that GDB stuff...
WinterMute posted on May 4 2006 at 10:06 PM said:I'm not sure what you mean. The stub works with the standard USB cable afaik.
kidchaos2k6 posted on May 18 2006 at 06:30 PM said:$(LD) -nostartfiles -s -Wall -Wl,-g,-Map,Test.map -T $(LNKSCRIPT) obj/crt0.o -o obj/$(PRG).elf $(OBJS) $(LIBS)
kidchaos2k6 posted on May 21 2006 at 07:45 PM said:and compile, i got the following linker error
d:\devkitarm\bin\..\lib\gcc\arm-elf\4.1.0\..\..\..\..\arm-elf\bin\ld: error: no
memory region specified for loadable section `.bss._ZN10cSingletonI4SMGPE12ms_si
ngletonE'
Any addtional ideas?
.bss ALIGN(4) :
{
__bss_start = ABSOLUTE(.);
/* __bss_start__ = ABSOLUTE(.); */
*(.dynbss)
*(.gnu.linkonce.b*)
*(COMMON)
*(.bss*)
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
} > ram
__bss_end = .;
WinterMute posted on May 22 2006 at 07:13 AM said:You're using the gp32_sdk.specs file, right?