You'll have to install a compiler on the empeg first, but yes, that's what I did. You will probably also have to add some swap space since there is only 8MB of RAM.

I also have a cross-compiler under i386 which works, but I found that some things were too difficult to build without being on the target.