qtopia-interest@trolltech.com
[Top] [All Lists]

RE: Antwort: RE: Antwort: Re: Error: opcode not supported on this proces

Subject: RE: Antwort: RE: Antwort: Re: Error: opcode not supported on this processor
From: "Martin Hansen"
Date: Wed, 1 Mar 2006 14:52:17 +0100
From: Martin Hansen [mailto:mah@xxxxxxx] 
> I filed an error to troltech.
And today i got an answer, they were working on the case. But had no solutions. 
They were so fine to give some hints though.
So now i solved the problem, needed to add -mips32 to the mips-linux-gcc 
commad. This path will do it
--- src/qtopia-core-opensource-src-4.1.1/mkspecs/qws/linux-mips-g++/qmake.conf~ 
2006-02-15 14:03:52.000000000 +0100
+++ src/qtopia-core-opensource-src-4.1.1/mkspecs/qws/linux-mips-g++/qmake.conf  
2006-03-01 12:23:40.000000000 +0100
@@ -13,7 +13,7 @@
 QMAKE_LEXFLAGS         =
 QMAKE_YACC             = yacc
 QMAKE_YACCFLAGS                = -d
-QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS           = -pipe -mips32
 QMAKE_CFLAGS_WARN_ON   = -Wall -W
 QMAKE_CFLAGS_WARN_OFF  =
 QMAKE_CFLAGS_RELEASE   = -O2

Andreas you can test by trying
/Software/qtopia-core-opensource-src-4.1.0/src/corelib> 
/opt/emlix/netdcu6/bin/mipsel-linux-gcc -mips32 -v -c -pipe -g -Wall -W 
-D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP 
-DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-mips-g++ 
-I. -I../../include -I../../include/QtCore -Iglobal 
-I.moc/debug-shared-emb-mips -I. -o .obj/debug-shared-emb-mips/qatomic32.o 
arch/mips/qatomic32.s 

-- 
Med venlig hilsen/mojn/regards

Martin Hansen
Software Specialist

Center for Software Innovation
Stenager 2
DK-6400 Sønderborg
Tlf: +45 7347 7017
Fax: +45 7347 7001
Email: mah@xxxxxxx
Web: www.cfsi.dk 

--
To unsubscribe - send "unsubscribe" in the subject to 
qtopia-interest-request@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>