Code::Blocks
July 29, 2010, 06:00:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New release 10.05 is ready. Grab it while it's hot!!!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: "Abort" Build when using external Makefiles  (Read 425 times)
glaure
Newcomer
*
Posts: 9


« 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 Smile ) 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
Logged
glaure
Newcomer
*
Posts: 9


« Reply #1 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.
Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!