<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:732393148;
        mso-list-type:hybrid;
        mso-list-template-ids:2117096648 359027516 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1
        {mso-list-id:1567838399;
        mso-list-type:hybrid;
        mso-list-template-ids:-679022946 324559526 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hello!<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I’ve got some experience with Delphi and now I’m
trying to get something going with Free Pascal and Linux. Specifically I’m
trying to write an “FastAGI for Asterisk” – that’s a
TCP/IP server that extends the Asterisk PBX in just the same way an FastCGI
extends an web browser. I’m trying to do this using the Synapse library
as that one seems to work on both Windows and Linux.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>So far I’ve managed to install the FPC on my Linux
machine, I’ve got to the “fp” IDE and managed to write my first
“hello world” application. Also made a small test using TThread,
just to make sure I’m on the right track and it also worked.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Next I tried using bits and pieces of the Synapses library,
and all hell broke loose. It’s not finding some libraries. I tried adding
them to the “Directory search path” by hand (in the FP IDE), with
mixed success. Some worked, one doesn’t: for some raison it can’t
find a unit called “pthreads”. My test application used a unit
called “CThreads” as the threading driver…<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>So I’ve got a few questions for you FPC+Linux gurus
out there, maybe you can point me in the right direction:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>(1)<span style='font:7.0pt "Times New Roman"'>   
</span></span><![endif]>What do you recommend for managing an project? I
started making changes in the FP IDE using the menu-selects, but that doesn’t
seem like a very portable solution. I do not expect my work to be important
enough for others to want it (and need to compile it) but I might need to move
my thing over to a different computer. I see no “project” menu in
FP…<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>(2)<span style='font:7.0pt "Times New Roman"'>   
</span></span><![endif]>Is FP the only available IDE for FPC that works in the
console (i.e: may be used remotely over SSH)? I know there’s Lazarus, and
I’ve installed it, but that’s a graphical tool and that’s
overkill for my needs (overkill for my network too!)<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>(3)<span style='font:7.0pt "Times New Roman"'>   
</span></span><![endif]>Is there an “getting started” document out
there that talks about project management?<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>(4)<span style='font:7.0pt "Times New Roman"'>   
</span></span><![endif]>What do I need to do to be able to debug? You know…
step into, step over, place a brakepoint…<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>--<o:p></o:p></p>

<p class=MsoNormal>Thanks, <o:p></o:p></p>

<p class=MsoNormal><span lang=RO>Cosmin Prund<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>