<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Linux fans, <br>
<br>
I'd like to catch a signal sent to a Linux program. <br>
<br>
Here: <a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/rtl/oldlinux/signal.html">http://www.freepascal.org/docs-html/rtl/oldlinux/signal.html</a> I
see: "Install signal handler (deprecated) ... This call has the same
functionality as the <b>SigAction</b> call. " <br>
<br>
So I tried to do this:
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/rtl/oldlinux/sigaction.html">http://www.freepascal.org/docs-html/rtl/oldlinux/sigaction.html</a><br>
<br>
It does not compile, as the unit oldlinux is not compiled in the
"normal" Lazarus svn installation. <br>
<br>
So I tried to add the directory of oldlinux.pp to the project
options (no problem). <br>
<br>
This now asks for adding multiple more directories with inc files
(no problem either)<br>
<br>
But finally the project gets linker errors, as "lineinfo" is not
provided. <br>
<br>
Trying to add this seemingly results in recompiling the complete
rtl, which I of course don't want to do. <br>
<br>
So: Hot to catch a signal ? <br>
<br>
-Michael<br>
</body>
</html>