<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<P>Hi:</P>
<P>  Where are you got GBA emulator?</P>
<P>
<HR>
</P>
<DIV>Hi!</DIV>
<DIV> </DIV>
<DIV>Today I have added Gameboy Advance support to Gideon including a "hello </DIV>
<DIV>world" template and an emulator frontend. </DIV>
<DIV>As this a something like an embedded system and as I know Ralf and maybe some </DIV>
<DIV>others will add support for other platforms I want to share my experience. :-)</DIV>
<DIV> </DIV>
<DIV>First compiling:</DIV>
<DIV>This is very easy as the current AutoMake plugin already allows to set the </DIV>
<DIV>crosscompiler and some configure options, like the "host" system.</DIV>
<DIV> </DIV>
<DIV>In the default generated projectfile for GBA look like this:</DIV>
<DIV><< compiler> </DIV>
<DIV>   < ccompilerbinary> arm-agb-elf-gcc< 
/ccompilerbinary> </DIV>
<DIV>   < cxxcompilerbinary> arm-agb-elf-g++< 
/cxxcompilerbinary> </DIV>
<DIV>   < cflags/> </DIV>
<DIV>   < cxxflags/> </DIV>
<DIV><< /compiler> </DIV>
<DIV><< configure> </DIV>
<DIV>   < configargs> 
--host=arm-gcc-elf --build=i386< /configargs> </DIV>
<DIV>   < builddir/> </DIV>
<DIV><< /configure> </DIV>
<DIV> </DIV>
<DIV>But you can change it in the project options. Thanks to Bernd. :-) </DIV>
<DIV> </DIV>
<DIV>After this compiling and building works very well.  Maybe you have to add </DIV>
<DIV>"objcopy" or something else to the default Makefile.am for converting </DIV>
<DIV>different binary formats (linux-elf -> 
 arm-agb-elf) ...</DIV>
<DIV> </DIV>
<DIV>Now running:</DIV>
<DIV>Often you need an emulator if you want to test your program but don't want to </DIV>
<DIV>upload it to your Palm or something else every time.</DIV>
<DIV>For this we can't use the default "execute/run options" from the automake </DIV>
<DIV>plugin. To implement your own version you can add </DIV>
<DIV>---</DIV>
<DIV><< kdevautoproject> </DIV>
<DIV>  < run> </DIV>
<DIV>   < default_implementation> no< 
/default_implementation> </DIV>
<DIV>  < /run> </DIV>
<DIV><< /kdevautoproject> </DIV>
<DIV>---</DIV>
<DIV>to the projectfile.</DIV>
<DIV> </DIV>
<DIV>With this configuration the AutoMake plugin doesn't insert the menuentry </DIV>
<DIV>"execute program" </DIV>
<DIV>and doesn't show the "Run Options" in the project configuration anymore.</DIV>
<DIV> </DIV>
<DIV>Now you can implement these features with your own KDevelop plugin.:-)</DIV>
<DIV>Please look at ftp://ftp.kdevelop.org/stud/smeier/runconf.png for the GBA </DIV>
<DIV>solution.</DIV>
<DIV> </DIV>
<DIV>Thanks for your attention.</DIV>
<DIV> </DIV>
<DIV>Ciao!</DIV>
<DIV>Sandy</DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>Kdevelop-devel mailing list</DIV>
<DIV>Kdevelop-devel@barney.cs.uni-potsdam.de</DIV>
<DIV>http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</DIV>
<HR>
</BODY></HTML>