2013/7/1 Tomasz Olszak <olszak.tom...@gmail.com> > > > 2013/7/1 Giuseppe D'Angelo <dange...@gmail.com> > >> On 1 July 2013 16:14, Tomasz Olszak <olszak.tom...@gmail.com> wrote: >> > I can't build it on mipsel(some errors with PCRE) architecture and >> currently >> > don't have time to investigate it. >> >> And, by any chance, do you have the error messages you got when >> building on mipsel? >> >> -- >> Giuseppe D'Angelo >> > > Build targets are customized for different defines. Currently it doesn't > build for one of them. So it is not only mipsel related but rather > DEFINES/QMAKE_CLFLAGS related. > Now I am not able to paste error, I will investigate it tomorrow and send > an update. > > However in my opinion using older Qt version than current one should be a > little bot more systemized. I asked about it few months ago in > http://lists.qt-project.org/pipermail/development/2013-March/010438.html when > I analysed qt-project workflow for adopting it in different project and > noticed that this case was not covered. > > regards > Tomasz Olszak >
So tried once again with 5.1. Problem was related to -std=c99 flag: zak/workspace/rootfs/BCM97356/include -I/home/user/workspace/rootfs/BCM97356/usr/include -I. -o .obj/release-shared/pcre16_jit_compile.o /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/pcre16_jit_compile.c In file included from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitLir.c:1339:0, from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/pcre_jit_compile.c:62, from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/pcre16_jit_compile.c:43: /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitNativeMIPS_common.c: In function 'sljit_cache_flush': /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitNativeMIPS_common.c:293:2: warning: implicit declaration of function '__clear_cache' In file included from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitLir.c:1339:0, from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/pcre_jit_compile.c:62, from /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/pcre16_jit_compile.c:43: /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitNativeMIPS_common.c: In function 'sljit_is_fpu_available': /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitNativeMIPS_common.c:1123:2: warning: implicit declaration of function 'asm' /home/user/workspace/qt5Release/qtbase/src/3rdparty/pcre/sljit/sljitNativeMIPS_common.c:1123:21: error: expected ')' before ':' token make[3]: *** [.obj/release-shared/pcre16_jit_compile.o] Błąd 1 I added QMAKE_CFLAGS+= -std=gnu99 (for using asm function in PCRE) QMAKE_CXXFLAGS += -std=c++98 and it now compiles. As an excuse I would like to inform that sysroot I am working with is VERY inconsistent... forget about adding /include /usr/include /lib /usr/lib There are tens of different paths and defines. So I built some examplary appllication with platform makefile based build system and copied includepaths, defines and compiler flags from make VERBOSE=1 command to qmake.conf. It compiled. In the end however I have encounter: https://bugreports.qt-project.org/browse/QTBUG-31817#comment-208125 I made some investigation and currently qtjsbackend is broken on mips architecture. v8 need to be updated(see my comment in mentioned task). -- regards / pozdrawiam, Tomasz Olszak Qt for Tizen | http://qt-project.org/wiki/Tizen Qt Certified Developer | http://qt-project.org http://linkedin.com/in/tolszak
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development