<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
25.11.2010 10:50, Mark Morgan Lloyd пишет:
<blockquote cite="mid:icl4gr$c2f$1@pye-srv-01.telemetry.co.uk"
type="cite">Евгений Семенов (Evgeniy Semenov) wrote:
<br>
<blockquote type="cite">24.11.2010 12:25, Jonas Maebe пишет:
<br>
<blockquote type="cite">
<br>
On 23 Nov 2010, at 22:01, Евгений Семенов (Evgeniy Semenov)
wrote:
<br>
<br>
<blockquote type="cite">Help me anybody, please. My program
runs on arm-linux system and when it receive SIGTERM i can't
handle this signal, program instantly terminate. Can someone
suggest to me, what's the problem? May be it bug? Or where i
can see rtl code which handle linux signals. Exact same
program normally handle SIGTERM signal on i386-linux system.
<br>
</blockquote>
<br>
Which FPC version, which ARM-linux system (eabi, oabi), how
was your compiler/rtl compiled?
<br>
</blockquote>
<br>
fpc 2.4.0 eabi linux
<br>
<br>
making crosscompiler
<br>
<br>
make all OS_TARGET=linux CPU_TARGET=arm
BINUTILSPREFIX=/home/sem/gcc/arm-none-linux-gnueabi/bin/ NOGDB=1
OPT='-O-' CROSSOPT='-Xd -CfSOFT -CaEABI -darm -dFPC_ARMEL -gl
-O- -CpARMV5
-Fl/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/lib
-Fl/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/usr/lib
-Xr/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/lib'
CROSSINSTALL=1 PREFIX=/usr
<br>
<br>
i tried to test my program compiled with fpc 2.5.1, program
immediately crash after start. same result with 2.4.2.
<br>
</blockquote>
<br>
Do you have an example program (as short as possible) that
demonstrates this? I've got 2.4.2 etc. running here and would be
interested to try it.
<br>
<br>
</blockquote>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: arial,sans-serif;
font-size: 16px;"><span title="">I'll make a test program later
and post here.<span class="Apple-converted-space"> </span></span><span
title=""></span></span></span><br>
<pre class="moz-signature" cols="72">--
С Уважением, Евгений Семенов
Best regards, Evgeniy Semenov.</pre>
</body>
</html>