OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: iamasmith on February 18, 2006, 09:26:59 am
-
I don't know how many of you have actually built some of the stuff from ports like scummvm and SDL but I thought I should just mention something.
When you build Zaurus binaries from ports don't assume that they are being xscale optimised. They (I'm pretty sure about this) all being built as default arm binaries which makes them pretty slow, particularly if you have built things like ScummVM and libSDL.
You can 'hint' to the build system that you want xscale binaries by doing the following before you make a port.
export CFLAGS="-mcpu=xscale"
export CPPFLAGS="-mcpu=xscale"
in the case of libSDL this makes a significant difference in performance speed.
Ideally once you have started the make on the port and it has passed the configure stage you should be checking that the -mcpu=xscale flag is being included in pretty much all the compile statements that fly by.
Well worth a rebuild of a few things if you didn't do this
take note, if you just redo the make install it may look like the library has been replaced. it almost certainly won't have. you will probably have to do...
pkg_add -r -F installed tarball.tgz
Don't believe it until you see it being removed and re-added.
- Andy
-
Note the xscale binaries/libraries seem to be somewhat bigger than the standard ARM versions so I suggest you decide on performance critical things to build with these flags.
- Andy
-
Sweet! Thanks for the great info.
Note the xscale binaries/libraries seem to be somewhat bigger than the standard ARM versions so I suggest you decide on performance critical things to build with these flags.
- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115253\"][{POST_SNAPBACK}][/a][/div]
-
Note the xscale binaries/libraries seem to be somewhat bigger than the standard ARM versions so I suggest you decide on performance critical things to build with these flags.
- Andy
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=115253\")
are you talking about ports in [a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/[/url] ?
do you mean that we should rebuild them with the xscale options ???
-
Note the xscale binaries/libraries seem to be somewhat bigger than the standard ARM versions so I suggest you decide on performance critical things to build with these flags.
- Andy
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=115253\")
are you talking about ports in [a href=\"ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/]ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/[/url] ?
do you mean that we should rebuild them with the xscale options ???
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144344\"][{POST_SNAPBACK}][/a][/div]
Umm, see top of thread