Help with compiling a project

Post Reply
RedJiggly
Posts: 3
Joined: Sun Dec 12, 2010 1:48 pm

Help with compiling a project

Post by RedJiggly » Sun Dec 12, 2010 2:03 pm

Hello there, everyone.

About a week ago, I decided that I wanted to continue development on a Java Kilobyte Virtual Machine for the NDS.

For the original port, see here. This was made in 2008. Davr, who did not intent to work further on it, released the sourcehere.

So, I installed devkitARM, downloaded the KVM source, and tried to rebuild the KVM. However, no success so far, I keep getting errors.

What I did
1.I went to the KVM/VMSkel/build directory in the CommandPrompt of Windows Vista, and typed 'make'.
I got the following Error:

Code: Select all

 'make:arm-eabi-gcc Command not found'
2.I opened the makefile, and changed the line 'CC=arm-eabi-gcc' to 'CC=$(DEVKITARM)/bin/arm-eabi-gcc'
I got the following error, after typing 'make' again:

Code: Select all

c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.5.1/../../../../arm-eabi/bin/ld
.exe: cannot find -lfat
collect2: ld returned 1 exit status
make: *** [kvm.elf] Error 1

I have no idea what I am doing wrong. Do I need to make big changes to the makefile or something because the version of devkitARM has changed since 2008? Or didn't I install devkitARM correctly?
Please help.


Also, please forgive my bad english, I'm dutch :wink: .

~RJ

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

Re: Help with compiling a project

Post by WinterMute » Tue Dec 14, 2010 1:50 am

The code you're attempting to build is from 2007, wasn't that useful when it did build and won't ever be anything more than a novelty. You should use the installer, as specified on http://devkitpro.org/wiki/Getting_Started/devkitARM then you might not be missing libraries and you'll probably need to replace the Makefile with one from a recent template. It would be much better for everyone if you didn't bother though.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest