Optimized Qt for Linux

SeppBauer
Hi Everybody

I was wondering if enybody could tell me how to optimize Qt for the
mini2440

i have actually tryed like 1 million different settings but none got me to
a result i could live with

actually i tryed using -mach and -mtune but neither of those seems to work!

tryed using :

-msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t and
CFLAGS for release but all i get is:

./../corelib/codecs/qisciicodec.cpp:1: error: bad value (armv4) for -march=
switch
../../corelib/codecs/qisciicodec.cpp:1: error: bad value (arm920t) for
-mtune= switch


so i was wondering if anybody have any idea or hint on how to optimize
qt...

which version of qt is suggested for the device?

THX
Seppo

davef
Does it make any difference if you use -march=armv4t instead of armv4?

SeppBauer
@davef

yes it does make a differance

ARMv4: this supports only 32 bit ARMv4 instructions 
ARMv4T: 'T' stands for Thumb. Thumb is the ARM 16 bit instruction mode 
ARMv4I: 'I' stands for Interworking. This allows for 32-bit and 16-bit
instructions to co-exist 

As for the other ARM processors:
StrongARM (SA1110): only supports ARMv4 instructions 
ARM920T, etc.: Typically supports all three variants