[Qt-interest] Qt/X11 cross compilng for ARM

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Sun Oct 24 05:28:40 CEST 2010


Thiago already pointed you to the error!

While building QT it's unable to find 'ld'. Seems like its looking for
the 'host' ld under /lib. It should be looking for 'arm-none-linux-ld'
I think.

Write a simple prog (C/C++) and compile it using your toolchain...once
you get that running compiling QT should be simple.

HTH,
-mandeep

On Sat, Oct 23, 2010 at 4:58 PM, umang gupta <umang.ece at gmail.com> wrote:
> Hi Thiago ,
>
> I have my toolchain installed in /opt/CodeSourcery/Sourcery_G++_Lite/
> [Arm tolchain from CodeSourcery]
>
> export CC = arm-none-linux-gnueabi-gcc
> export CXX = arm-none-linux-gnueabi-g++
> export PATH=/opt/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH
>
> Attached my qmake.conf here .
>
> Command :
> ./configure -v -arch arm -xplatform qws/linux-arm-gnueabi-g++
> --force-pkg-config -little-endian  -host-little-endian
>
> Thanks
> Umang
>
> On Sat, Oct 23, 2010 at 4:45 PM, Thiago Macieira <thiago at kde.org> wrote:
>>
>> On Saturday 23. October 2010 12.43.23 you wrote:
>> > Problem in attaching Log file ..Hence pasting Log here .
>>
>> > >>> Run configure with -v to see why the test failed. Sometimes it's not
>> > >>> because of
>> > >>> the includes and libraries. Maybe it's missing part of the
>> > >>> toolchain.
>>
>> Thank you. Now I can just paste your error back to you:
>>
>> /lib/ld-linux.so.3: No such file or directory
>>
>> Your toolchain isn't properly installed. First you must get it to compile
>> programs properly. After that is achieved, you'll be able to compile Qt.
>>
>> --
>> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>>  Senior Product Manager - Nokia, Qt Development Frameworks
>>      PGP/GPG: 0x6EF45358; fingerprint:
>>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>
>
> --
> Yours :
> Umang
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list