Author Topic: Compiling  (Read 3828 times)

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
Compiling
« on: December 22, 2007, 09:53:35 pm »
Looking to try and start compiling some apps and games for the Z, I would like to crosscompile them from my host laptop as it would be dramatically faster to do.  How do I go about this?  Its been awhile since I have tried to compile things
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Compiling
« Reply #1 on: January 16, 2008, 07:29:16 am »
hey

while surfing onto android's weblog, i've just found that :

http://www.codesourcery.com/gnu_toolchains/arm/index_html

i guess it should enable us to crosscompile under linux or under window$ for our debian too...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

zecrazytux

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://zecrazytux.net
Compiling
« Reply #2 on: January 16, 2008, 09:15:03 am »
hoy mates !

i tried to crosscompile somme appz (i'm working on e17 actually, but it doesn't work :-(), but i didn't succeed to get something easy and handy enought.
I find a way to "natively" compile under a more powerful machine: the key is qemu-arm

it's easy to boot the zdevil debian rootfs with poky's kernel (we also might be good enought to make our kernel with yonggun's patches and config, able to boot on qemu)
then, you have an entire debian armel system with network (nat works out of the box with qemu, you can all well use bridges)

that mean you can let qemu's window on a dirty virtual desktop and connect to debian armel thansk to ssh, then use your terminal emulator as if you where on your laptop or workstation.

in most of the case, downloading sources from apt repositories (apt-get source apps-name) (or from i386 apt-respositories if there's no sources on amrel ones)
and using dpkg-buildpackage are sufficient to get a software ready from your Z

i'll maybe explain it a little more (howto)
Debian GNU/Linux Sid on C1000 akita (rootfs on sd) - 2.6.21 from poky - e16 - www.zecrazytux.net