Author Topic: Cross Compile Sdk  (Read 5187 times)

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Cross Compile Sdk
« on: October 01, 2007, 01:01:55 am »
Hi, I want to start dev work; I need a cross compiler set up, with QT.
Please can someone point me in the right direction. My desktop is
PPC linux so I may need sources.
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Cross Compile Sdk
« Reply #1 on: October 01, 2007, 01:07:47 am »
Quote from: koan
Hi, I want to start dev work; I need a cross compiler set up, with QT.
Please can someone point me in the right direction. My desktop is
PPC linux so I may need sources.
Not that I can help, but this raises a question--what libs, which Qt version should go into such a thing, given the updates made in 2.4.20 pdaX? Personally, Id favor both whatever is easiest for whoever might put this together, and the versions common to the latest pdax versions (both 2.4 and 2.6). These are probably mutually exclusive preferences.
This also raises the question of bringing QT4 into pdax...
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Cross Compile Sdk
« Reply #2 on: October 01, 2007, 09:45:26 am »
Quote from: adf
This also raises the question of bringing QT4 into pdax...

I need QT4. If someone else hasn't already built it, this is the first thing I would do.
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Cross Compile Sdk
« Reply #3 on: October 01, 2007, 10:05:21 pm »
No one has successfully built QT4 for pdaXrom as far as I know -- it requires updated glibc/gcc I think. Someone tried to get it going and even compiled an updated glibc/gcc and posted the ipks -- so you should search for that first. However, I don't think they made it all the way to a working QT4.
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Cross Compile Sdk
« Reply #4 on: October 02, 2007, 01:34:12 am »
Quote from: T3_slider
No one has successfully built QT4 for pdaXrom as far as I know -- it requires updated glibc/gcc I think. Someone tried to get it going and even compiled an updated glibc/gcc and posted the ipks -- so you should search for that first. However, I don't think they made it all the way to a working QT4.
There is a squashfs, I think ShiroiKuma built it ;QT4.01-- I'm not sure what the shortcomings are
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Cross Compile Sdk
« Reply #5 on: October 02, 2007, 09:24:06 pm »
Right you are -- see here: https://www.oesf.org/forum/index.php?showto...p;hl=ShiroiKuma

(pgas compiled it and ShiroiKuma made a squashfs).
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Cross Compile Sdk
« Reply #6 on: October 02, 2007, 11:24:49 pm »
Quote from: T3_slider
Right you are -- see here: https://www.oesf.org/forum/index.php?showto...p;hl=ShiroiKuma

(pgas compiled it and ShiroiKuma made a squashfs).
Glad you found the link.  Now the question is what it can and can't do--and how it can be integrated with both cross compiler and (don't mean to hijack, just mentioning it) meanie's zgcc squash
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Cross Compile Sdk
« Reply #7 on: October 03, 2007, 01:49:26 am »
I hope you don't mind me hijacking my thread back; I really need to set up a dev environment on my desktop. Talking about a future set up of the dev env is not helping people who can't even get a current one! Why don't you start a new thread ?

I need a toolchain and relevant libs (QT3 for a start).

I need sources, because my desktop is PPC, but if there are x86 binaries I'll take them too.

In the longer term I need QT4. Latest version is 4.3.1 and I know there will be improvements that I need that Trolltech have yet to implement but hopefully soon. Therefore, I don't want to be stuck with an old 4.1.

Thanks in advance
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cross Compile Sdk
« Reply #8 on: October 03, 2007, 03:15:42 am »
Quote from: koan
I hope you don't mind me hijacking my thread back; I really need to set up a dev environment on my desktop. Talking about a future set up of the dev env is not helping people who can't even get a current one! Why don't you start a new thread ?

I need a toolchain and relevant libs (QT3 for a start).

I need sources, because my desktop is PPC, but if there are x86 binaries I'll take them too.

In the longer term I need QT4. Latest version is 4.3.1 and I know there will be improvements that I need that Trolltech have yet to implement but hopefully soon. Therefore, I don't want to be stuck with an old 4.1.

Thanks in advance

for X86 binaries of the cross compiler go here:
http://distro.ibiblio.org/pub/linux/distri...Zaurus-7x0-860/
for the qt3 source, go to trolltech's website. however, qt build expects to build things natively, cross compiling it will be a challenge...
if you are thinking of developing qt3 apps, then consider building it on a PC for testing and debugging and once you got the code ready, compile it natively on the Z.
as for qt4 it will not be supported until probably pdaXrom 2.0.0 because of dependencies on things that the current pdaXrom does not have, and then it might not be supported either due to its size...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Cross Compile Sdk
« Reply #9 on: October 03, 2007, 03:35:03 am »
Quote from: Meanie
if you are thinking of developing qt3 apps, then consider building it on a PC for testing and debugging and once you got the code ready, compile it natively on the Z.

Thanks Meanie.

My plan is to develop on my desktop and cross compile when my app is tested; just as with the Sharp/Qtopia SDK. I can pull libs off my Z for linking. The main thing is I need a PPC toolchain. I'll have to get the same version of QT that's already on my Z for native testing.

Quote
As for qt4 it will not be supported until probably pdaXrom 2.0.0 because of dependencies on things that the current pdaXrom does not have, and then it might not be supported either due to its size...

That's a shame because the apps I am working on now are QT4. The big draw of 4 for me was that QT became GPL for Windows so now my apps can run on more platforms. Furthermore, Trolltech are fixing many things that were broken in previous versions, I am going through a bug submission with them right now.

Personally, I'd like to be running a very fast KDE4/embedded. I know KDE is not working on this at the moment; but I'm sure it will come. KDE4 uses QT4.

Anyway, pdaXrom 2 is end of year, right ?...! Not too long to wait.
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Cross Compile Sdk
« Reply #10 on: October 03, 2007, 08:13:25 pm »
Sorry--it hadn't occurred to me that you didn't know where the original pdaxrom stuff was, I thought you meant something newer.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf