Compiling C on the phone

Michael Shiloh michael at openmoko.org
Sat Aug 9 04:23:26 CEST 2008



Dirk Bergstrom wrote:
> Andrew Chu wrote:
>  > Sounds like you're missing binutils, or symlinks to the assembler and 
> linker:
>  >    opkg install binutils
>  > then:
>  >    ln -s /usr/bin/arm-angstrom-linux-gnueabi-as /usr/bin/as
> 
> Actually, there's a binutils-symlinks package that does all that.  Dunno 
> why it's a separate package...
> 
>  > Hope that helps,
> 
> It does indeed.  hello.c built just fine, and so did the pycrypto stuff. 
>   I had to install python-compile, but then the install went through as 
> well.
> 
> Thanks very much.
> 
> I'll write this up in the wiki later today.


Thanks Dirk. This is very cool. The ability to compile on my phone is 
something I want to be able to show off.

M




More information about the support mailing list