Help - Search - Members - Calendar
Full Version: Warning About Ports
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
iamasmith
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 smile.gif

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
iamasmith
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
mathemajikian
Sweet! Thanks for the great info.

QUOTE(iamasmith @ Feb 18 2006, 07:25 PM)
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
*
jpmatrix
QUOTE(iamasmith @ Feb 18 2006, 09:25 PM)
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
*


are you talking about ports in ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/ ?

do you mean that we should rebuild them with the xscale options ???
iamasmith
QUOTE(jpmatrix @ Oct 19 2006, 12:02 PM)
QUOTE(iamasmith @ Feb 18 2006, 09:25 PM)
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
*


are you talking about ports in ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/ ?

do you mean that we should rebuild them with the xscale options ???
*



Umm, see top of thread
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.