Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » default compiler
default compiler [message #174914] Tue, 15 August 2006 17:16 Go to next message
Eclipse UserFriend
Originally posted by: Thomas.Schmid.Pfaffenberg.de

I use cdt within suse linux 10.1. Creating a new project with managed make
sets the G++ compiler. Is it possible to set the GCC compiler as the default
compiler?
Re: default compiler [message #174921 is a reply to message #174914] Tue, 15 August 2006 18:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bjcbell.gmail.com

On Tue, 15 Aug 2006 23:16:36 +0200, Thomas wrote:

> I use cdt within suse linux 10.1. Creating a new project with managed make
> sets the G++ compiler. Is it possible to set the GCC compiler as the default
> compiler?

gcc is for compiling C code only. g++ is the GNU compiler for C++. You
probably set up your project as a Managed make C++ project instead of a
Managed Make C project. Try using a C project instead of C++, then the
default compiler should be gcc.
Re: default compiler [message #175002 is a reply to message #174921] Thu, 17 August 2006 15:08 Go to previous message
Eclipse UserFriend
Originally posted by: Thomas.Schmid.Pfaffenberg.eu

gcc compiles also C++ altough linking must be done with g++ (see Stallman,
An Introduction to GCC).

Nevertheless, is it possible to configure the default environment?


"Benjamin Cherian" <bjcbell@gmail.com> schrieb im Newsbeitrag
news:pan.2006.08.15.22.01.17.550155@gmail.com...
> On Tue, 15 Aug 2006 23:16:36 +0200, Thomas wrote:
>
>> I use cdt within suse linux 10.1. Creating a new project with managed
>> make
>> sets the G++ compiler. Is it possible to set the GCC compiler as the
>> default
>> compiler?
>
> gcc is for compiling C code only. g++ is the GNU compiler for C++. You
> probably set up your project as a Managed make C++ project instead of a
> Managed Make C project. Try using a C project instead of C++, then the
> default compiler should be gcc.
Previous Topic:UML Class Diagrams
Next Topic:AST - How to get body of IfdefStatement ?
Goto Forum:
  


Current Time: Sun Jul 20 17:55:22 EDT 2025

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

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

Back to the top