Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to build projects using specified gcc
How to build projects using specified gcc [message #195075] Wed, 04 July 2007 05:47
Eclipse UserFriend
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
Previous Topic:Problem with detection of Cygwin
Next Topic:"The CPU is not supported by selected debugger"
Goto Forum:
  


Current Time: Sat Jul 13 17:28:37 GMT 2024

Powered by FUDForum. Page generated in 0.03553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top