View Single Post
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#1
In case someone needs to do a quick fix on the bus (haven't found any thread about this except chroot option). Managed to get Qrencode (first qt source I found) compiled with just a few steps:

Needed packages (except for standard gcc, used 4.4, 4.6/7 should work, no idea about 4.2) - libqt4-test, libsqlite3-dev, libqt4-dev

libqt4-dev from SDK repo has x86 binary of qmake. This one has ARM version:
https://garage.maemo.org/frs/downloa...0909_armel.deb

The other two packages I grabbed from marmistrz's repo I believe.

Generating makefile works. Make results in a lot of assembler errors though (Error: selected processor does not support ARM mode `ldrex r2,[r3]`). Turning off optimizations helps a bit, down to 4 errors from a few hundred. Not sure if this will help in all cases, but adding:
Code:
-march=armv7-a -marm -mfloat-abi=softfp
to CFLAGS resulted in a successful compile. Binary works.

Now to compile qtcreator...
 

The Following 9 Users Say Thank You to szopin For This Useful Post: