[uClinux-dev] C++ support of ucfront-g++?

kitefree kitefree at so-net.net.tw
Sat Oct 20 09:53:25 EDT 2007


Hi,
I tried to compile qtopia core 4.3.2 with ucfront in my uClinux-dist package.
And it seems that ucfront doesn't completely support C++ syntax? It complains
like this,
/home/nerokuo/uClinux/tools/ucfront-g++ arm-linux-g++ -c -D__PIC__ -fpic -msingle-pic-base -msoft-float -Wall -I/home/nerokuo/uClinux/include -I/home/nerokuo/uClinux/uClibc/include -I/home/nerokuo/jpeg-6b -fno-exceptions -g -Wall -W -D_REENTRANT -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT3_SUPPORT -DQT_MOC_COMPAT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/debug-static-emb-arm -I.uic/debug-static-emb-arm -I-I/home/nerokuo/uClinux/include -I-I/home/nerokuo/uClinux/uClibc/include -o .obj/debug-static-emb-arm/qglobal.o global/qglobal.cpp
In file included from ../../include/QtCore/qlist.h:1,
                 from ../../include/QtCore/../../src/corelib/tools/qvector.h:45,
                 from ../../include/QtCore/qvector.h:1,
                 from global/qglobal.cpp:41:
../../include/QtCore/../../src/corelib/tools/qlist.h:51:15: new: No such file or directory

And the code segment of qlist.h is,
#ifndef QLIST_H
#define QLIST_H

#include <QtCore/qiterator.h>
#include <QtCore/qatomic.h>
#include <QtCore/qalgorithms.h>

#ifndef QT_NO_STL
#include <iterator>
#include <list>
#endif

#include <new>

QT_BEGIN_HEADER
.....

Do you know the cause of this problem? Your comments will be much
appreciated.


More information about the uClinux-dev mailing list