Game Development Reference
In-Depth Information
Testing the Scripts
Save the scripts in Listings 1-2 and 1-3 as agcc and ald in your $HOME/bin directory. Then issue the
following commands to test them:
user@ubuntu:~$ agcc --version
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2008q3-72) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user@ubuntu:~$ ald --version
arm-none-linux-gnueabi-ld: warning: library search path
"/usr/lib/jvm/java-6-sun/jre/lib/i386" is unsafe
for cross-compilation
GNU ld (Sourcery G++ Lite 2008q3-72) 2.18.50.20080215
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Caution Do not edit the scripts with your Windows host using Notepad or WordPad. That will insert invalid
characters in the file and give strange results when you run the script. I made the mistake of doing just that, and
wasted a lot of time when the compiler started giving some funky output.
Setting Up Your Development Environment
Now you are ready to get your IDE up and running with the Android development kit. Let's go through
the installation of the latest available Android SDK (1.6 at the time of this writing; available from
http://developer.android.com/sdk/index.html ) over Eclipse 3.5 (Galileo, available from
http://www.eclipse.org ).
 
Search WWH ::




Custom Search