[Qt-embedded-interest] cross compilation error (cc1: error: unrecognized command line option "-m64")

Batsayan Das batsayan.das at tcs.com
Fri Nov 26 13:46:18 CET 2010


There was some problem in the host shell, I tried with new user shell 
which solves the issue.
Thanks for the response.

Regards,
Batsayan Das
Tata Consultancy Services
Mailto: batsayan.das at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
"Balagopalakrishnan, Anand" <anandb at ti.com>
To:
Batsayan Das <batsayan.das at tcs.com>, "qt-embedded-interest at trolltech.com" 
<qt-embedded-interest at trolltech.com>
Date:
11/26/2010 02:07 PM
Subject:
RE: [Qt-embedded-interest] cross compilation error (cc1: error: 
unrecognized command line option "-m64")



The ARM code sourcery tool chain does not support ?m64 option. Even in 
gcc, this is really an undocumented feature. This option shouldn?t get 
added as part of qmake. 
 
Can you send your qmake.conf and config.status files?
 
Regards,
Anand Balagopalakrishnan
 
From: qt-embedded-interest-bounces at trolltech.com [
mailto:qt-embedded-interest-bounces at trolltech.com] On Behalf Of Batsayan 
Das
Sent: Friday, November 26, 2010 1:12 PM
To: qt-embedded-interest at trolltech.com
Subject: [Qt-embedded-interest] cross compilation error (cc1: error: 
unrecognized command line option "-m64")
 

Hi, 

I am trying to build  am18xx-demo using qt-everywhere-opensource-src-4.6.0 

I am using the following url to compile am18xx-demo 
http://processors.wiki.ti.com/index.php/Qt_Framework_Demo_Setup 
I got the following error on compiling 
"qt-everywhere-opensource-src-4.6.0" 
arm-none-linux-gnueabi-gcc -c -pipe -m64 -fno-exceptions -O2 -fPIC -Wall 
-W -DQT_QWS_CLIENTBLIT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../../mkspecs/qws/linux-x86_64-g++ -I. 
-I../../../include -I../../../include/QtCore -I../../../include/QtXml 
-I../../3rdparty/zlib -o .obj/release-static-emb-arm/adler32.o 
../../3rdparty/zlib/adler32.c
cc1: error: unrecognized command line option "-m64"
make[1]: *** [.obj/release-static-emb-arm/adler32.o] Error 1
make[1]: Leaving directory 
`/home/batsayan/junk/ui/qt-everywhere-opensource-src-4.6.0/src/tools/bootstrap'
make: *** [sub-tools-bootstrap-make_default-ordered] Error 2 
What is the wrong? 
The gcc version is 
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1 
The configuration option is 
./configure -opensource -static -no-qt3support -no-xmlpatterns 
-no-multimedia -no-phonon -no-phonon-backend -no-svg -no-webkit 
-no-javascript-jit -no-script -no-scripttools -no-declarative 
-qt-mouse-tslib -DQT_QWS_CLIENTBLIT -xplatform qws/linux-arm-g++ -embedded 
arm -confirm-license 
--Batsayan 


Batsayan Das
Tata Consultancy Services
Mailto: batsayan.das at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20101126/3782fd52/attachment.html 


More information about the Qt-embedded-interest mailing list