OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: anunakin on April 15, 2006, 03:03:10 pm

Title: Compiling Nogravity For Pdaxrom...
Post by: anunakin on April 15, 2006, 03:03:10 pm
http://www.realtech-vr.com/nogravity/ (http://www.realtech-vr.com/nogravity/)

 
My compiled files, version from CVS

http://zaurus.vivaphp.net/nogravity.tar.bz2 (http://zaurus.vivaphp.net/nogravity.tar.bz2)

I used:
pdaXrom 1.1.0-beta3
gcc 3.4.6
./configure --enable-sound=sdl_mixer --disable-opengl

From my FEED
libpng 1.2.8
sdl-gfx 2.0.13
libvorbis
libogg

CFLAGS = -I/usr/include/libpng12 -I/opt/native/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/include/SDL -D_REENTRANT -g -O2 -march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt
Title: Compiling Nogravity For Pdaxrom...
Post by: Civil on April 15, 2006, 03:09:21 pm
Maybe it'll work without
Quote
-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt
?
Title: Compiling Nogravity For Pdaxrom...
Post by: anunakin on April 15, 2006, 03:40:27 pm
Quote
Maybe it'll work without
Quote
-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt
?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123326\"][{POST_SNAPBACK}][/a][/div]

Yes, I think! I trying build a optimal binary for SL-Cxx00.... I go try without iwmmxt  
Title: Compiling Nogravity For Pdaxrom...
Post by: merli on April 16, 2006, 07:17:01 am
Quote
Quote
Maybe it'll work without
Quote
-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt
?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123326\"][{POST_SNAPBACK}][/a][/div]

Yes, I think! I trying build a optimal binary for SL-Cxx00.... I go try without iwmmxt  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123330\"][{POST_SNAPBACK}][/a][/div]

There can be also problem with structure alignment in game code. I was trying to build Descent 1, 2 with compile OK but actual game does not run or crashes with message memory overwrite. Also I have I think same problem with save corruption in Duke3d. There should be some thread to explain and instruct how to port code for ARM processor.
Title: Compiling Nogravity For Pdaxrom...
Post by: anunakin on April 17, 2006, 01:36:15 pm
Quote
Quote
Quote
Maybe it'll work without
Quote
-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt
?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123326\"][{POST_SNAPBACK}][/a][/div]

Yes, I think! I trying build a optimal binary for SL-Cxx00.... I go try without iwmmxt  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123330\"][{POST_SNAPBACK}][/a][/div]

There can be also problem with structure alignment in game code. I was trying to build Descent 1, 2 with compile OK but actual game does not run or crashes with message memory overwrite. Also I have I think same problem with save corruption in Duke3d. There should be some thread to explain and instruct how to port code for ARM processor.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123387\"][{POST_SNAPBACK}][/a][/div]

I compiled for my AMD64 and got same "Segmentation Fault"!