OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: koan on October 01, 2007, 01:01:55 am

Title: Cross Compile Sdk
Post by: koan 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.
Title: Cross Compile Sdk
Post by: adf 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...
Title: Cross Compile Sdk
Post by: koan 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.
Title: Cross Compile Sdk
Post by: T3_slider 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.
Title: Cross Compile Sdk
Post by: adf 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
Title: Cross Compile Sdk
Post by: T3_slider on October 02, 2007, 09:24:06 pm
Right you are -- see here: https://www.oesf.org/forum/index.php?showto...p;hl=ShiroiKuma (https://www.oesf.org/forum/index.php?showtopic=16885&hl=ShiroiKuma)

(pgas compiled it and ShiroiKuma made a squashfs).
Title: Cross Compile Sdk
Post by: adf 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 (https://www.oesf.org/forum/index.php?showtopic=16885&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
Title: Cross Compile Sdk
Post by: koan 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
Title: Cross Compile Sdk
Post by: Meanie 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/ (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/download/1.1.0beta1/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...
Title: Cross Compile Sdk
Post by: koan 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.
Title: Cross Compile Sdk
Post by: adf 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.