On 01/02/2012 11:55 AM, Bouteville Perre-Noël wrote:
> sorry,
>
> all binary and patch are here :
>
> http://dl.dropbox.com/u/22100696/ltib/[patch name]
>
> example for your requested patchs url are :
> http://dl.dropbox.com/u/22100696/ltib/qt-4.7.2-animation-refresh.patch
> http://dl.dropbox.com/u/22100696/ltib/qt-4.7.4-tslib-disable-O_NONBLOCK.patch
>
>
Thanks for the patches - I also found the tarball for qwt.  My OMAP3
LTIB uses the CodeSourcery 2009q1-203 ARM toolchain which are prefixed
with "arm-none-linux-gnueabi-" and won't build with your changes (as it
looks for arm-linux-g++).

Looking at what qt-embedded.spec does with sed, would it make more sense
to replace "${CFGHOST}-" in qmake-4.7.4.conf with
"${TOOLCHAHIN_PREFIX}", and rework the sed command to be:

cat
$TOP/dist/lfs-5.1/qt-embedded/linux-ltib-crosstools/qmake-%{version}.conf 
| \
        sed "s~\${TOOLCHAIN_PREFIX}~${TOOLCHAIN_PREFIX}~g"   | \
        sed "s~\${TOP}~${TOP}~g" \
        > 
$RPM_BUILD_DIR/qt-everywhere-opensource-src-%{version}/mkspecs/qws/linux-ltib-crosstools/qmake.conf

Also, unless I have the case statement for ARM use
PLATFORM="qws/linux-ltib-crosstools" as follows:

    arm)
        export PLATFORM="qws/linux-ltib-crosstools"
        export EMBEDDED="arm"

then QT still tries to use qws/linux-arm-g++ which uses linux-arm-g++ to
build with.

I'm trying both changes to see what happens (wish me luck!).  Do you
have any nots/description of the changs you've made so I can get an idea
of how you got it to build for an ARM environment - and can use that to
get it to build for my world?

Thanks in advance!

-- 
Peter Barada
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to