Author Topic: Has Anyone Tried Qemu? (and More)  (Read 5234 times)

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« on: June 25, 2007, 06:35:28 am »
Hi all.

Finally I have chosen pdaXrom as my rom (it has taken a whole year... I tried everything under the Sun). So the first thing to do was setting up a development environment in my Z (thanks all of you that make such a nice collection of squashed images) and tried to compile my "must have" programs.

Currently I am trying to compile Qt 4.3.0, but there is a lot of things to fix to compile it (I am using the images Meanie has made available in his web site). And now it's taking more than one week of micro-drive  24/7 hard work (I make a fix, launch the compiler, and errors appear many hours later ). I am afraid the micro-drive it's not designed for this kind of work... Is this correct?

There is an emulator out there, QEMU, able to emulate several ARM systems, has anyone tried to compile "natively" with it, I mean having an emulated ARM system to compile quasi-natively...?

I am seriously thinking about cross compiling, the rom I tried just before (OpenZaurus) has a very well defined set of tools for this, even a virtual machine you can download to do the job... I am a little bit confused about pdaXrom, which tools do you use to develop and compile, guys?

I apologise if I overlook the posts that made those subjects clear...

Thanks.
E
« Last Edit: June 25, 2007, 12:41:20 pm by ernestus »
Zaurus SL-C3200 running pdaxii13.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Has Anyone Tried Qemu? (and More)
« Reply #1 on: June 25, 2007, 10:06:59 am »
Quote
Hi all.

Finally I have chosen pdaXrom as my rom (it has taken a whole year... I tried everything under the Sun). So the first thing to do was setting up a development environment in my Z (thanks all of you that make such a nice collection of squashed images) and tried to compile my "must have" programs.

Currently I am trying to compile Qt 4.3.0, but there is a lot of things to fix to compile it (I am using the images Meanie has made available in his web site). And now it's taking more than one week of micro-drive  24/7 hard work (I make a fix, launch the compiler, and errors appear many hours later ). I am afraid the micro-drive it's not designed for this kind of work... Is this correct?

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

If you want QT 4.3.0, angstrom has it: [a href=\"http://www.angstrom-distribution.org/repo/?action=details&pnm=qt4-x11-free]http://www.angstrom-distribution.org/repo/...nm=qt4-x11-free[/url] , which means you can use OpenEmbedded to build your favourite qt4 apps without having to 'fix' qt4
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #2 on: June 25, 2007, 11:21:01 am »
Cross compiling is almost as easy as native compiling. Yiu DL the environment and decompress it to /. Then, run /opt/.../runsdk.sh and build away.

Google "pdaxrom cross-compiling" for a how-to.

This does require a Linux box, IIRC.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Dromede

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #3 on: June 25, 2007, 12:21:05 pm »
Quote
Cross compiling is almost as easy as native compiling. Yiu DL the environment and decompress it to /. Then, run /opt/.../runsdk.sh and build away.

Google "pdaxrom cross-compiling" for a how-to.

This does require a Linux box, IIRC.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163706\"][{POST_SNAPBACK}][/a][/div]

could you elaborate this a bit or at least point me to some links where i could find some info on setting the cross-compiling environment? i downloaded pdaxrom-builder from svn and tried compiling it under kubuntu feisty. didnt work. i also downloaded pdaxrom.iso and i tried running it under vmware but i still don't know what to do. i mean, it works perfectly under vmware but the /opt/cross/ is more or less empty... there are some quick tutorials on pdaxrom.org but those are written in poor english and are therefore quite hard to follow&understand... i dont want to build the whole rom, i just want to set the environment right and then start compiling. latest e-uae will be my first target...

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #4 on: June 25, 2007, 02:28:18 pm »
https://www.oesf.org/index.php?title=Pdaxro...oss_Compilation

Some stuff may not apply (URLs, iconv), but it should do. The stuff you need is at the distro.ibiblio.org/... site.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #5 on: June 26, 2007, 05:49:17 am »
[For Capn_Fish]
Thanks Capn_Fish, it needed some investigation, googling with filenames and so, but finally I am dowloading the iso image at: http://distro.ibiblio.org/pub/linux/distri...1.0r121/pdaX86/
and the hard to find part, the cross compiling env from:
http://zaurus.spy.org/feeds/cacko/pdaXrom/...ftfloat.tar.bz2
if it works, I may update the wiki.

[For Koen]
Thanks koen, I am going to stay with pdaXrom for a while, I've found some usability problems in Angstrom, I understand it's in a development state. The speed and responsiveness of your system is amazing, and I envy the slickness of the building tools you use.
But I am using the Zaurus  as a substitute for my laptop in very long flights to Asia: I need some kind of "immediate productivity", and this is something pdaXrom excels at, due to people as Meanie, working in a very user-centric way.
Given that pdaXrom is going to kernel 2.6, makes sense trying to merge both projects, there are not too many developers, and dividing them is not wise. But people tend to have lots of inertia (and are very stubborn as well), sh*t!...

Thanks all.
E
Zaurus SL-C3200 running pdaxii13.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Has Anyone Tried Qemu? (and More)
« Reply #6 on: June 26, 2007, 06:17:57 am »
Quote
I've found some usability problems in Angstrom
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Have you filed bugs for those? See rule #5 on [a href=\"http://www.angstrom-distribution.org/]http://www.angstrom-distribution.org/[/url]
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #7 on: June 26, 2007, 06:44:19 am »
Nope
Zaurus SL-C3200 running pdaxii13.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #8 on: June 26, 2007, 12:39:04 pm »
Quote
[For Capn_Fish]
Thanks Capn_Fish, it needed some investigation, googling with filenames and so, but finally I am dowloading the iso image at: http://distro.ibiblio.org/pub/linux/distri...1.0r121/pdaX86/
and the hard to find part, the cross compiling env from:
http://zaurus.spy.org/feeds/cacko/pdaXrom/...ftfloat.tar.bz2
if it works, I may update the wiki.
Thanks all.
E
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163766\"][{POST_SNAPBACK}][/a][/div]
You don't need the ISO. Just extract the cross-sdk... file to / and run /opt/cross/.../runsdk.sh.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Has Anyone Tried Qemu? (and More)
« Reply #9 on: June 26, 2007, 04:40:12 pm »
[/quote]
You don't need the ISO. Just extract the cross-sdk... file to / and run /opt/cross/.../runsdk.sh.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163782\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Oops, I thought there was a complete dev environment in the ISO image .
I've just installed the cross compiler, ...just making tests.
Cheers
Zaurus SL-C3200 running pdaxii13.