[Qt-interest] Help needed. Trying to build Qt 4.7.0 for Debian on ARM processor.

Devendra Patel devpatel82 at gmail.com
Wed May 18 03:11:42 CEST 2011


Thanks skeezix.

I downloaded and installed Sourcery-g++ lite for ARM on my computer.
I have arm-linux-g++ in my path but the configure script is not able to find
it and am still getting same error.
*
*
*'# g++: arm-linux-g++: No such file or directory'*

If I run arm-linux-g++ -v , i see the version details. So I guess the PATH
is set alright.

Is there any way I can pass extra paths to configure script to look into.

Thanks,
dPatel

2011/5/16 skeezix <skeezix at skeleton.org>

>
>        Its looking for arm-linux-gcc (and friends) - a native or cross
> compiler; presumably thats a cross compiler (otherwise it would just be
> called 'gcc'), so you're building on x86 and targeting ARM, but you've not
> actually installed the ARM crosscompielr build of gcc.
>
>        You'll probably have to find one, such as using CodeSourcery
> builds. (or else change your build to use anotehr cross compiler that you
> have, or build it on the device itself with a native regualr gcc
> installed.)
>
>                jeff
>
> On Mon, 16 May 2011, Devendra Patel wrote:
>
> # Hi All,
> # I am trying to build Qt 4.7.0 for debian running on machine (Guru Plug)
> with arm processor. The specification of the plug computer are here
> http://www.plugcomputer.org/plugwiki/index.php/GuruPlug
> #
> # The PC I will be re-building Qt is running Ubuntu 10.4
> #
> # I am running following command for configuration.
> #
> # ./configure -platform  mkspecs/qws/test -debug-and-release -no-webkit
> #
> # but and getting following error.
> #
> # Creating qmake. Please wait...
> # g++ arm-linux-g++ -c -o makefile.o -pipe -DQMAKE_OPENSOURCE_EDITION -I.
> -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac
> -Igenerators/symbian -I/media/Movies/qt-arm/include
> -I/media/Movies/qt-arm/include/QtCore
> -I/media/Movies/qt-arm/src/corelib/global
> -I/media/Movies/qt-arm/src/corelib/xml
> # -I/media/Movies/qt-arm/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE
> -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT
> -DQT_NO_STL -DQT_NO_COMPRESS -Imkspecs/qws/test -DHAVE_QCONFIG_CPP
> -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  generators/makefile.cpp
> # g++: arm-linux-g++: No such file or directory
> #
> # Now I looked into mkspecs/qws/linux-arm-g++/qmake.conf and found
> following setup
> # QMAKE_CC                = arm-linux-gcc
> # QMAKE_CXX               = arm-linux-g++
> # QMAKE_LINK              = arm-linux-g++
> # QMAKE_LINK_SHLIB        = arm-linux-g++
> #
> # Is the error messaging due to above settings. What do I do to solve the
> error?
> #
> # Also can I build for 'arm' target on my 'intel' based pc?
> #
> # Thanks,
> # Devendra Patel.
> # --
> # Blog
> # http://observe-read-think.blogspot.com/
> #
> #
>
> --
> If everyone would put barbecue sauce on their food, there would be no war.




-- 
Blog
http://observe-read-think.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110518/d6e155f5/attachment.html 


More information about the Qt-interest-old mailing list