Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: glaure on February 02, 2010, 04:05:49 pm

Title: "Abort" Build when using external Makefiles
Post by: glaure on February 02, 2010, 04:05:49 pm
Hi!

I am looking for the right place in source code where the "abort" of Makefile builds is handled (Linux).
We are using a shitty difficult hierarchy of makefiles which are delegating build steps further down into a
separate jailed build environment. Well I got it running (+ debugging yeah :) ) but the simple task of aborting
a running build fails.

In my tests I observed that aborts using SIGTERM do not work as they stop the build process after the current step.
This step is sadly a step that takes 10 minutes or more. SIGINT works better, at least in my tests.

I found int CompilerGCC::KillProcess() but I am not sure that this function is the one that is called.

Any tips?

Bye Gunther
Title: Re: "Abort" Build when using external Makefiles
Post by: glaure on February 02, 2010, 04:20:37 pm
Please ignore the question.  I tried to kill a "root" build process from a process with user rights. Of course that didnt work.