Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Compiling Problems   Message List  
Reply | Forward Message #14929 of 15019 |
Hi I am tying to get the game engine to compile but when I execute
the make.bat I just get error messages. I am using devkitadv as the
author instructs.

I followed the instructions on the web.

If you are using Windows NT/2000, then its better to use a .cmd file:
-- devkit.cmd --
@echo off
PATH=c:\devkitadv\bin;%PATH%
cmd

Will this work on windows XP too , If not does anyone hove any idea
how to get it to work withe WinXP

next I executed the make.bat

make.bat contents


@del game.gba

@set orgpath=%path%
@set path=C:\devkitadv\bin;%path%
@set CFLAGS=-marm -mthumb-interwork -mlong-calls -O1 -D __GBA__

del *.o

@REM Assemble ARM/Thumb Code
@REM =======================

@echo ====== Compiling Assembly Files
REM as -mthumb-interwork -o poly.text.iwram.o poly.text.iwram.s

REM I still haven't been able to link this into Yeti3D
REM as -mthumb-interwork -o crt0.o crt0.s

@echo ====== Compiling C Files
gcc %CFLAGS% -c *.c ..\..\src\*.c

@echo ====== Linking
gcc %CFLAGS% -o game.elf *.o

objcopy -O binary game.elf game.gba

@del game.elf
@set path=%orgpath%

Then I get these error messages.


Could Not Find C:\devkitadv\yeti3dgpl\platform\gba\game.gba

C:\devkitadv\yeti3dgpl\platform\gba>del *.o
Could Not Find
C:\devkitadv\yeti3dgpl\platform\gba\*.o
====== Compiling Assembly Files

C:\devkitadv\yeti3dgpl\platform\gba>REM as
-mthumb-interwork -o poly.text.iwram.o poly.text.iwram.s


C:\devkitadv\yeti3dgpl\platform\gba>REM I still haven't been able to
link this into Yeti3D


C:\devkitadv\yeti3dgpl\platform\gba>REM as -mthumb-interwork -o
crt0.o crt0.s ====== Compiling C Files


C:\devkitadv\yeti3dgpl\platform\gba>gcc -marm -mthumb-interwork
-mlong-calls -O1 -D __GBA__ -c *.c ..\..\src\*.c
'gcc' is not recognized as an internal or
external command, operable program or batch file.
====== Linking


C:\devkitadv\yeti3dgpl\platform\gba>gcc -marm -mthumb-interwork
-mlong-calls -O1 -D __GBA__ -o game.elf *.o


I sure I just doing a newbie mistake, anybody have any idea what
doing wrong I would appreate any assistane I can get.

Thank you for your time!

Jason









Tue Jun 14, 2005 5:25 pm

bmnb1234
Online Now Online Now
Send Email Send Email

Forward
Message #14929 of 15019 |
Expand Messages Author Sort by Date

Hi I am tying to get the game engine to compile but when I execute the make.bat I just get error messages. I am using devkitadv as the author instructs. I...
bmnb1234
Online Now Send Email
Jun 14, 2005
8:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help