Feedback sought for default build invocation [message #23878] |
Tue, 09 April 2002 14:13  |
Eclipse User |
|
|
|
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 #23965 is a reply to message #23878] |
Tue, 09 April 2002 21:30  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03608 seconds