ARM Compiler Image now available for download

Paul-e-wogg suggested that I put my compiler on a DMG to make it easier for everyone. I don’t know why I didn’t do that in the first place, so thank you for pointing that out to me! So I dug up one of the DMGs that I had made and put it up. If there are any issues with it, please let me know so that I can fix them.

The DMG is now available on the Downloads page.

Using Angry Ant’s Behave Library in UnityScript

I have been learning how to use Unity3D recently, and I really wanted to use the Behave library without having to use C#. It took me a little while, but here is an example of doing it:

#pragma strict


// Where we store our new Behave Tree

var BTree : Behave.Runtime.Tree;


// Where we store our Behave IAgent

var Agent : BSIAgent;


// Where we implement all of our Behave level functions

public class BSIAgent implements Behave.Runtime.IAgent {


public function Tick (sender : Behave.Runtime.Tree, init : System.Boolean) {


return Behave.Runtime.BehaveResult.Success;



public function Reset (sender : Behave.Runtime.Tree) {



public function SelectTopPriority (sender : Behave.Runtime.Tree, IDs : int[]){

return IDs[0];




function Start() {

// Create a new agent

Agent = new BSIAgent();

// Create our tree

BTree = BLBasicMiner.InstantiateTree( BLBasicMiner.TreeType.Task_Systems_BasicTS,   Agent   );

// While the application is running and our tree exists

while (Application.isPlaying && minerTree != null) {

// Wait for a certain amount of time

yield new WaitForSeconds(1.0f / minerTree.Frequency);

// Tick the tree





function AIUpdate() {



Yes, this is a bit of a hack, but I haven’t had much time to refine it. Hopefully in the future I will be able to provide a more readable version.

Getting the Lion C/C++ Compiler

Unfortunately for developers like me, Mac Lion does not come with GCC, G++ or anything else pre-installed on the computer (plus the compilers are not GNU standard, so you can’t update them by compiling a newer version).

However, Apple has produced a disk image with an installer for these tools, if you want command-line tools like me, or you can download Xcode and use that instead.

If you have Xcode and want the command-line tools, all you have to do is go to the Xcode menu while Xcode is open, choose the Preferences item, click on the Downloads tab and press the button saying you want to install the command-line tools.

If you want Xcode, go to the App Store and download it. Personally, I like having both, mainly because I like the structure of Xcode for certain projects, but I enjoy the flexibility of the command line. Plus, it is simpler to update the command line tools through Xcode because it informs you of updates. Of course, this can be undesirable; I had to recompile some custom libraries that I had installed because of changes in the updates…

If you just want the command-line tools, follow these steps:

  1. Go to the Apple Developer’s Download page (This requires that you have a Developer Profile. You can get one for free, so you might as well.)
  2. Click on the latest version of the Command Line Tools
  3. On the right side of the screen there will be a link to the file. Click it and it will start the download.
  4. Once it has finished downloading, open the disk image and install the package.

NOTE: You need to have Administrator Privileges to install the command line tools! 

QEMU on Mac? Use Q!

Q is QEMU with a coca GUI on the front, and it works amazing! I’ve been testing it out the past few days, and I have yet to have a problem with it. Instead of trying to compile QEMU yourself on Mac OSX (Lion or otherwise), go to the Q Homepage and check it out.

I am using version 0.9.1d118, and that one works. I am actually running a kernel that I wrote myself on it, and no problems yet!

Dispelling the Sourcery and making it GNU

With QEMU currently on the back burner, I am taking some time to compile and install the arm GCC in a more GNU-style manner. The reason for this is due to the fact that I do not want to spend time adding the library paths for it each and every time I cross compile something using Mac’s GCC. So within the next month, at max, I will have a new link up for the build script that will install it as a GNU GCC. As an added bonus, this one will not need the GNU cp and tar.

RPi Compiler Binaries now Available

Downloads Page

The links below no longer work. Use the above link.

Finally got around to putting these up on my fileJungle Account. I would have put them up sooner, but homework has been crazy. Who knew that college would be so tough ? Duh!

I also put up my disk image just in case the bins don’t work for some reason.

RPi : Binaries

RPi : DiskImage