OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Warning About Ports, no xscale optimisations by default!
iamasmith
post Feb 18 2006, 06:26 AM
Post #1





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



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
Go to the top of the page
 
+Quote Post
iamasmith
post Feb 18 2006, 11:25 AM
Post #2





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



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
Go to the top of the page
 
+Quote Post
mathemajikian
post Jul 29 2006, 01:19 PM
Post #3





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



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
*
Go to the top of the page
 
+Quote Post
jpmatrix
post Oct 19 2006, 04:02 AM
Post #4





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



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 ???
Go to the top of the page
 
+Quote Post
iamasmith
post Oct 19 2006, 11:45 AM
Post #5





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th December 2014 - 11:24 AM