Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Feedback sought for default build invocation
Feedback sought for default build invocation [message #23878] Tue, 09 April 2002 14:13 Go to next message
Eclipse UserFriend
Hi All,

Tom Tromey opened bug 12963 which suggests that we change the default build
invocation from "gmake" to "gmake -k".
I don't have a problem doing this and I personally think this makes sense,
but I just wanted to see if there were any strong opinions either way.

Some Background Info:

When a C/C++ project is created there is a default build invocation provided
that is basically just the command that will be executed when the "Build
Project" action is invoked (either explicitly or automatically via a
resource change).
The "-k" flag that Tom proposes is short for "--keep-going" and does the
following (from the man pages):

"Continue as much as possible after an error. While
the target that failed, and those that depend on it,
cannot be remade, the other prerequisites of these
targets can be processed all the same."

Here is the explanation from Tom:

>Currently the CDT defaults to using "gmake"
>to build the project. I think it should instead
>default to "gmake -k".

>The reason to do this is that then the user can more
>easily step through all the problems in his program.
>Right now he must build, fix a problem, and then try again.

>I know I can add -k by hand, but I think the default should
>be the most commonly useful setting.

>In case it matters, other systems, namely Emacs, use -k
>by default. So there is some prior art here.

Thoughts?

Jeff Turnham
Re: Feedback sought for default build invocation [message #23920 is a reply to message #23878] Tue, 09 April 2002 15:46 Go to previous messageGo to next message
Eclipse UserFriend
Sounds good to me.
Robert.
------------------------------------------------------------ ---
Jeff Turnham wrote:

> Hi All,

> Tom Tromey opened bug 12963 which suggests that we change the default build
> invocation from "gmake" to "gmake -k".
> I don't have a problem doing this and I personally think this makes sense,
> but I just wanted to see if there were any strong opinions either way.
Re: Feedback sought for default build invocation [message #23965 is a reply to message #23878] Tue, 09 April 2002 21:30 Go to previous message
Eclipse UserFriend
If that's the default in other systems, then that sounds like the appropriate
default here.

Jeff Turnham wrote:

> Hi All,
>
> Tom Tromey opened bug 12963 which suggests that we change the default build
> invocation from "gmake" to "gmake -k".
> I don't have a problem doing this and I personally think this makes sense,
> but I just wanted to see if there were any strong opinions either way.
>
> Some Background Info:
>
> When a C/C++ project is created there is a default build invocation provided
> that is basically just the command that will be executed when the "Build
> Project" action is invoked (either explicitly or automatically via a
> resource change).
> The "-k" flag that Tom proposes is short for "--keep-going" and does the
> following (from the man pages):
>
> "Continue as much as possible after an error. While
> the target that failed, and those that depend on it,
> cannot be remade, the other prerequisites of these
> targets can be processed all the same."
>
> Here is the explanation from Tom:
>
> >Currently the CDT defaults to using "gmake"
> >to build the project. I think it should instead
> >default to "gmake -k".
>
> >The reason to do this is that then the user can more
> >easily step through all the problems in his program.
> >Right now he must build, fix a problem, and then try again.
>
> >I know I can add -k by hand, but I think the default should
> >be the most commonly useful setting.
>
> >In case it matters, other systems, namely Emacs, use -k
> >by default. So there is some prior art here.
>
> Thoughts?
>
> Jeff Turnham
Previous Topic:CDT driver 20020408 available for download
Next Topic:Problems with cdt-eclipse-R1.0
Goto Forum:
  


Current Time: Sat May 10 21:04:15 EDT 2025

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

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

Back to the top