very simple problem

Wladyslaw Pohorecki pohorecki@novell.ftj.agh.edu.pl
Fri Jan 23 06:49:00 GMT 1998


Hello all,
I have a very simple I think question.
I recently installed sucsessfully egcs snapshot 971222 on my i486
AMD(P75) PC with Linux RedHat 5.0.
Now as a nearly beginner in Unix I 'm not sure how to use egcs gcc for
compiling C++ programs like Qt and KDE
in my RH where I have egcs in usr/local and old gcc 27.2.3.. in usr/.
I made symbolic links egcc->gcc ; eg++->g++ in usr/local/bin.
In Makefiles I put CC=egcc  - is it sufficient to do not mix different C
and C++ libraries ?
I can compile in this manner QT-1.32 from source with many same kind
warnings like:
 "warning: base class `class QIODevice' should be explicitly initialized
in the copy constructor"
Examples and tutorials in Qt are working fine but when I want to
compile  I can compile kdelibs with many warnings so kdesupport  and
finally compiling  kdebase applications it is not possible to find some
virtual elements which have to be from Qt?!.
Perhaps I make very simple error in using egcs?
I wil be very gratefull for any help.
Please send me response also directly on my e-mail address
pohorecki@ftj.agh.edu.pl





More information about the Gcc-bugs mailing list