OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: 008 on June 09, 2004, 11:17:03 pm

Title: Compiling libSDL from zports CVS
Post by: 008 on June 09, 2004, 11:17:03 pm
I\'ve run into a snag in compiling libSDL 1.2.6 from zports:
Code: [Select]
...

SDL_blit_arm.S: Assembler messages:

SDL_blit_arm.S:58: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:59: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:60: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:61: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:113: Error: bad instruction `pld [r2]\'

SDL_blit_arm.S:219: Error: bad instruction `pld [r0]\'

...


Any ideas?  Or has anyone tried succesfully and would like to post the binaries?  Such as: libSDL.a, libSDL-1.2.so.0.0.6, libSDL.la, libSDLmain.a?

BTW I\'m using the gcc from the zgcc2.9.5 cramfs image, and installed binutils for autoconf/automake.

Thanks
Title: Compiling libSDL from zports CVS
Post by: _Psycho on June 10, 2004, 07:56:04 am
You trying to compile it on your zaurus or on a pc ?

I never tried directly from a zaurus. But if you only need the .a and .la etc, I probably have them on my pc
(Or i can do it for you). I will probably have time this weekend to build you that, Hope your not in a hurry
Title: Compiling libSDL from zports CVS
Post by: 008 on June 12, 2004, 02:27:00 am
On the zaurus :-)

Anyway, it is okay, as I was able to compile SDL 1.2.7 from CVS, and use those libSDL.la and libSDLmain.a..

Now I am able to play Open Transport Tycoon in its 640x480 glory, even though there is an issue with sprite loading.. :-)
Title: Compiling libSDL from zports CVS
Post by: _Psycho on June 13, 2004, 11:35:12 am
Hmm sound great, I have to check that
Title: Compiling libSDL from zports CVS
Post by: yzord on June 13, 2004, 01:16:53 pm
Quote
On the zaurus :-)
...
Now I am able to play Open Transport Tycoon in its 640x480 glory, even though there is an issue with sprite loading.. :-)


Whoa nelly! You compiled OTT for the Z?! You gotta make that publicly available man, this is NEWS!

Saw the screenshots on the OTT forums:
http://ttforums.owenrudge.net/viewtopic.php?t=8207 (http://ttforums.owenrudge.net/viewtopic.php?t=8207)

You wouldnt happen to be blakeyez or kenny would you?

Yz
Title: Compiling libSDL from zports CVS
Post by: 008 on June 14, 2004, 02:14:53 am
I would be Kenny.. I didn\'t have to do too much, just compile it.. but it is still not working quite right.. when we get the kinks get worked out I\'ll package it up :-)
Title: Compiling libSDL from zports CVS
Post by: _Psycho on June 14, 2004, 10:51:57 am
I lacked of time yesterday, I hope i will have time to compile it tonight to test.
Title: Compiling libSDL from zports CVS
Post by: yzord on June 14, 2004, 02:33:42 pm
Thanks for all your efforts, Kenny and _Psycho (and blakeyez) at making this an eventual reality for the Z! Maybe all three of you can work together on this one... _Psycho you\'re the one that\'s maintaining ZPorts (http://zports.sourceforge.net) right? That might be a good place to host this?

Anyway, whatever you guys decide, your efforts are very much appreciated.
Yz
Title: Compiling libSDL from zports CVS
Post by: _Psycho on June 14, 2004, 02:47:10 pm
Quote
Thanks for all your efforts, Kenny and _Psycho (and blakeyez) at making this an eventual reality for the Z! Maybe all three of you can work together on this one... _Psycho you\'re the one that\'s maintaining ZPorts (http://zports.sourceforge.net) right? That might be a good place to host this?

Anyway, whatever you guys decide, your efforts are very much appreciated.
Yz


Yeah i maintain it with Manuel Teira Paz, he is the one compiling more stuff atm (and he redid the page better than my first version  I should fix the menu color thought i never really liked them. I have not done anything for a very long time (I was busy with some other emulation project (WoW).  Last night I updated my debian etc etc took me like 2-3 hours, especially X-windows, DRI stuff was not working anymore with my kernel 2.6.6. I also saw that im gonna have to recompile qt and qtopia once I have done that tonight. I should have a good system again to port stuff
I hope i can get some games working tonight.

Zports is there to host any zaurus port ! I want to add stratagus on it, Duke 3D (if thats ever work, i only have the \"atomic edition\") and openttd
when i can.  Everyone is welcome to put / port more program on zports !
Title: Compiling libSDL from zports CVS
Post by: blakeyez on June 15, 2004, 11:06:32 am
As soon as I get my Zaurus from K (hopefully shipping this week if my stupid wire transfer goes through), I will be working much harder on getting all the little issues worked out.

We\'re pretty sure that almost all the issues relate back to the sprite code, which involves some heavy memory-management code that may be slightly broken for the ARM processor.  When the Z gets here I\'ll actually be able to help Kenny a little more with actually testing OpenTTD on the zaurus itself, instead of just doing mostly x86 testing in a qtopia environment.

Dave