How to build projects using specified gcc [message #195075] |
Wed, 04 July 2007 05:47 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: chenal.naritech.cn
I have installed gcc-4.1.0 on openSUSE 10.2 and it is the default gcc
compiler. Because we want to develop software used on real time Linux
where gcc version is 3.4.1. So I downloaded and built gcc-3.4.1. It is
installed in /usr/local/gcc-3.4.1. And in the /usr/bin, I create links:
$ ln -s /usr/local/gcc-3.4.1/bin/gcc gcc-3.4
$ ln -s /usr/local/gcc-3.4.1/bin/g++ g++-3.4
In my CDT Managed C++ project, I add another two build configurations:
Debug-3.4
Release-3.4
And set command to be g++-3.4 in the properties->C/C++ build->Tool
Settings->GCC C++ Compiler, and add /usr/local/gcc-3.4.1/include to GCC
C++ Compiler->Diectories.
I wonder whether it is right to do like this?
After I build the project, the compiler tells a warning:
Warning: libstdc++.so.5, need by /home/test/libipc.so, may conflict with
libstdc++.so.6
How to avoid this warning?
Please help me. Thank you very much.
Regard
Allen Chen
|
|
|
Powered by
FUDForum. Page generated in 0.03553 seconds