PDA

View Full Version : QT Embedded For MIPS "linux-mips-g++" not found ?



Thành Viên Mới
25th November 2010, 03:49
i config QT-everywhere : .
/configure -embedded mips -xplatform qws/linux-mips-g++ -little-endian

and Read follow this instruction: http://hi.baidu.com/%C7%B6%C8%EB%CA%BD%C7%FD%B6%AF/blog/item/211ee462dc3637d38db10db9.html

but when i type
"make"

it message error:


root@sonptit-laptop:/home/sonptit/embedded/mkspecs/qws/linux-mips-g++# make
mips-linux-g++ -fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.0-mips/lib -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.0-mips/lib -o linux-mips-g++ -L/home/sonptit/embedded/lib -lQtGui -L/home/sonptit/embedded/lib -lQtNetwork -lQtCore -lpthread
make: mips-linux-g++: Command not found
make: *** [linux-mips-g++] Error 127

can you help me ?

QbelcorT
26th November 2010, 09:00
Hi, it looks like your cross-compiler tool is not installed. If you type 'mips-linux-g++' on the command line you will probably see the same error. Use the correct compile command or install the tool-chain it should work.

robertchoi
10th November 2011, 02:36
Hi. I have same issue..

I am using below toolchains... How to resolve this issue?

glibc filename is toolchain‐final‐mipsisa32r2el‐ti mesys‐linux‐gnu.tgz
uclibc filename is toolchain‐final‐mipsisa32r2el‐ti mesys‐linux‐uclibc.tgz

Hi. I have same issue..

I am using below toolchains... How to resolve this issue?

glibc filename is toolchain‐final‐mipsisa32r2el‐ti mesys‐linu x‐gnu.tgz
uclibc filename is toolchain‐final‐mipsisa32r2el‐ti mesys‐linu x‐uclibc.tgz

alexburdov
24th November 2011, 11:26
Edit you ./mkspecs/qws/linux-mips-g++/qmake.conf such
===============================

#
# qmake configuration for building with mipsel-linux-g++
#

include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)

# modifications to g++.conf
QMAKE_CC = mipsisa32r2el-timesys-linux-gnu-gcc
QMAKE_CXX = mipsisa32r2el-timesys-linux-gnu-g++
QMAKE_CFLAGS += -mips32r2 (??????) { you compiler option's}
QMAKE_CXXFLAGS += -mips32r2 (??????)
QMAKE_LINK = mipsisa32r2el-timesys-linux-gnu-g++
QMAKE_LINK_SHLIB = mipsisa32r2el-timesys-linux-gnu-g++

# modifications to linux.conf
QMAKE_AR = mipsisa32r2el-timesys-linux-gnu-ar cqs
QMAKE_OBJCOPY = mipsisa32r2el-timesys-linux-gnu-objcopy
QMAKE_STRIP = mipsisa32r2el-timesys-linux-gnu-strip
.............................
...........................
================================================== ====