<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.compilers.free-pascal.general">
    <title>gmane.comp.compilers.free-pascal.general</title>
    <link>http://blog.gmane.org/gmane.comp.compilers.free-pascal.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27513"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27512"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27511"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27510"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27509"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27508"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27507"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27506"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27505"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27504"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27503"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27502"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27501"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27500"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27499"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27518">
    <title>Re: TList Notify count changed</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27518</link>
    <description>&lt;pre&gt;


Might i ask to make TList.SetCount a virtual method?

Best Regards
Zaher Dirkey
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Zaher Dirkey</dc:creator>
    <dc:date>2012-05-23T13:02:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27517">
    <title>Re: Re: 2.6.0 for Solaris? And other questions[oneresolved]</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27517</link>
    <description>&lt;pre&gt;Thanks Mark. I haven't gotten to my SPARC boxes yet. Since I already had a copy of 2.6.0 built on my Linux box I was playing around with building there first. 

-----Original Message-----
From: Mark Morgan Lloyd &amp;lt;markMLl.fpc-pascal&amp;lt; at &amp;gt;telemetry.co.uk&amp;gt;
Sender: fpc-pascal-bounces&amp;lt; at &amp;gt;lists.freepascal.org
Date: Wed, 23 May 2012 09:05:55 
To: &amp;lt;fpc-pascal&amp;lt; at &amp;gt;lists.freepascal.org&amp;gt;
Reply-To: FPC-Pascal users discussions &amp;lt;fpc-pascal&amp;lt; at &amp;gt;lists.freepascal.org&amp;gt;
Subject: Re: [fpc-pascal] Re: 2.6.0 for Solaris? And other questions [one
resolved]

microcode&amp;lt; at &amp;gt;zoho.com wrote:

That will require that you can find a precompiled libgdb- preferably a 
version that's already supported by the options in gdbint.pp. Or build 
one from source (which I've done on several systems).

I've just checked my SPARC Solaris 10 and I've not gone to the trouble: 
fp was built without gdblib.


You normally have to set up the ppc symlink manually, irrespective or 
platform. I usually use two stages, e.g. ppcsparc -&amp;gt; ppcsparc-2.4.4 and 
ppcsparc-2.4.4 -&amp;gt; /usr/local/lib/fpc/2.4.4/ppcsparc, and in cases where 
I'm e.g. running Lazarus I tell it to use the "one in the middle" i.e. 
ppcsparc-2.4.4.

&lt;/pre&gt;</description>
    <dc:creator>microcode-ytc+IHgoah0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-23T09:28:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27516">
    <title>Re: Re: 2.6.0 for Solaris? And other questions [oneresolved]</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27516</link>
    <description>&lt;pre&gt;
That will require that you can find a precompiled libgdb- preferably a 
version that's already supported by the options in gdbint.pp. Or build 
one from source (which I've done on several systems).

I've just checked my SPARC Solaris 10 and I've not gone to the trouble: 
fp was built without gdblib.


You normally have to set up the ppc symlink manually, irrespective or 
platform. I usually use two stages, e.g. ppcsparc -&amp;gt; ppcsparc-2.4.4 and 
ppcsparc-2.4.4 -&amp;gt; /usr/local/lib/fpc/2.4.4/ppcsparc, and in cases where 
I'm e.g. running Lazarus I tell it to use the "one in the middle" i.e. 
ppcsparc-2.4.4.

&lt;/pre&gt;</description>
    <dc:creator>Mark Morgan Lloyd</dc:creator>
    <dc:date>2012-05-23T09:05:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27515">
    <title>TList Notify count changed</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27515</link>
    <description>&lt;pre&gt;In TList how can i notify if Count is changed with New and Old values as
like in SetCount, SetCount procedure not virtual?
procedure SetCount(NewCount: Integer);

I am using last revision of Lazarus, FPC 2.6

Best Regards

Zaher Dirkey
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Zaher Dirkey</dc:creator>
    <dc:date>2012-05-22T18:08:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27514">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27514</link>
    <description>&lt;pre&gt;Jonas Maebe schrieb:
 &amp;gt; That's a non sequitur:
 &amp;gt; a) even though the original code was written a long time ago, it has 
been changed many times since then
 &amp;gt; b) if it isn't broken, don't fix it. Example: changing all 
occurrences of "string" into "shortstring" will break the system unit.
 &amp;gt; The reason is that a "var a: string" is an "openstring" parameter 
(with a hidden "high" parameter that tells you the size of
 &amp;gt; the variable that was passed in), while "var a: shortstring" is not. 
So at the very least, you'd have to change var/out
 &amp;gt; parameters into openstring rather than into shortstring.

As far as I know you can pass ShortString of any size to a ShortString 
of maximum length (255). So I don't see how "var a : ShortString" would 
lead to errors. But of course, you need to be careful.

Nevertheless, I would rewrite such code. Even at the danger of breaking 
something else (which would hopefully appear directly) I would consider 
clear code so important that I would not rely on some compiler switch 
(that may change some day) to make it run. Especially because *if* the 
compiler switch is changed it would not strike you immediately. It would 
run a long time until someone (by accident) has a path longer than 255 
characters. And then it would not raise an exception (which would point 
you to the cause) but it would overwrite other data and then crash at a 
completely unrelated instruction (or just lead to wrong results).

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jürgen Hestermann</dc:creator>
    <dc:date>2012-05-22T16:29:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27513">
    <title>Re: Re: 2.6.0 for Solaris? And other questions [oneresolved]</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27513</link>
    <description>&lt;pre&gt;On Tue, 22 May 2012 10:29:28 +0200 Sven Barth &amp;lt;pascaldragon-gM/Ye1E23mwN+BqQ9rBEUg&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
wrote:


That's a good explanation, thank you. I would like to have the debugger
support. 

I'm planning to go through the build again a few times for various reasons
including I want to get a current copy on Solaris SPARC. I didn't get (all)
the units built and there are some other minor annoyances in the way it
worked out (no symlink from fpc to the ppcx module) and if it doesn't go
like you said I'll post back to the list.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>microcode-ytc+IHgoah0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-22T10:22:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27512">
    <title>Re: Re: 2.6.0 for Solaris? And other questions [oneresolved]</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27512</link>
    <description>&lt;pre&gt;Am 21.05.2012 14:59, schrieb microcode-ytc+IHgoah0&amp;lt; at &amp;gt;public.gmane.org:

This might be, because you compiled it without a libgdb which in turn is 
the one who links dynamically to libc. Most FPC applications (if they 
don't use threads or a WideString manager) don't require libc and thus 
don't need to link to it (which AFAIK is also the case for the IDE if it 
doesn't link to libgdb).

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Sven Barth</dc:creator>
    <dc:date>2012-05-22T08:29:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27511">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27511</link>
    <description>&lt;pre&gt;
Jürgen Hestermann wrote on Tue, 22 May 2012:


That's indeed probably true.


That's a non sequitur:
a) even though the original code was written a long time ago, it has  
been changed many times since then
b) if it isn't broken, don't fix it. Example: changing all occurrences  
of "string" into "shortstring" will break the system unit. The reason  
is that a "var a: string" is an "openstring" parameter (with a hidden  
"high" parameter that tells you the size of the variable that was  
passed in), while "var a: shortstring" is not. So at the very least,  
you'd have to change var/out parameters into openstring rather than  
into shortstring.

Adding support for new functionality (such as unicode file names)  
would obviously require revising all of that code, but that's because  
the context changes rather than because it's old.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jonas Maebe</dc:creator>
    <dc:date>2012-05-22T08:22:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27510">
    <title>Re: 2.6.0 for Solaris? And other questions [oneresolved]</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27510</link>
    <description>&lt;pre&gt;

Hooray! See attached. Thanks Tomas!

Interestingly enough, the build process I stumbled through created
statically linked executables. In 2.6.0 fp was dynamically linked and
pointed to a copy of glibc I didn't have. In the 2.7.1 I created today, fp
is static and has no dependency on a particular version of anything. I
wonder if it could be created that way generically in the regular build
process and then everybody on Linux could run it.


Oops, I knew I forgot something! :-( Got the messages and didn't take the
time to figure out where to get the library and forget about your email
until I read it again now.


Paying a little more attention now after the build, the problem I am having
is not finding many of the units required to build the examples. I see I do
have quite a few libraries in the units directory but obviously I am
missing others. I'll look at this more later on.

Thanks to everyone who's helped, I seem to be getting a lot further and fp
is now working (without the debugger anyway, my fault) and looks great!
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>microcode-ytc+IHgoah0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-21T12:59:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27509">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27509</link>
    <description>&lt;pre&gt;

Sven Barth schrieb:
That would be explanation.
But then it must be *very* old code which shows that a revise is overdue.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jürgen Hestermann</dc:creator>
    <dc:date>2012-05-22T05:15:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27508">
    <title>You can probably ignore this</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27508</link>
    <description>&lt;pre&gt;It seems I have to post twice or nothing shows up to the list!

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>microcode-ytc+IHgoah0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-22T05:05:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27507">
    <title>Re: Can't install FPC on mac bookair 10.7.4</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27507</link>
    <description>&lt;pre&gt;
Chovav Sutachy wrote on Mon, 21 May 2012:


First, install Xcode if you do not have it yet. If you installed Xcode  
4.3 or later, next open Xcode, go to Preferences -&amp;gt; Downloads and  
install the "Command line tools" package (the installer doesn't know  
about this limitation because Xcode 4.3 was released after FPC 2.6.0).  
Then you will be able to install FPC.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jonas Maebe</dc:creator>
    <dc:date>2012-05-21T08:51:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27506">
    <title>Can't install FPC on mac bookair 10.7.4</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27506</link>
    <description>&lt;pre&gt;Dear

I can't install FPC compiler on mac 10.7.3

Please see attachment files

Thank you

Chovav

P.S. -http://www.lazarus.freepascal.org/index.php/topic,16125.0.html




On Sun, May 20, 2012 at 5:00 PM, &amp;lt;fpc-pascal-request-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Chovav Sutachy</dc:creator>
    <dc:date>2012-05-21T05:54:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27505">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27505</link>
    <description>&lt;pre&gt;Am 21.05.2012 07:17 schrieb "Jürgen Hestermann" &amp;lt;juergen.hestermann&amp;lt; at &amp;gt;gmx.de&amp;gt;:
$H+.
ShortString.
never change
and also

Estimated guess: the code is from a time where "String = AnsiString" wasn't
possible.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Sven Barth</dc:creator>
    <dc:date>2012-05-21T06:57:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27504">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27504</link>
    <description>&lt;pre&gt;

Tomas Hajny schrieb:
Ok. If that can be guaranteed.
But I am always wondering why in such situations the type is not set to 
ShortString.
Why use generic String type if all code relies on the fact that it may 
never change
from ShortString to some other string type? It's just asking for trouble 
and also
makes the code less clear.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jürgen Hestermann</dc:creator>
    <dc:date>2012-05-21T05:17:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27503">
    <title>Re: Darwin i386</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27503</link>
    <description>&lt;pre&gt;On Sun, May 20, 2012 at 8:52 AM, Jonas Maebe &amp;lt;jonas.maebe-3RqwKoEL1alVsUKGZV2E3Q&amp;lt; at &amp;gt;public.gmane.org&amp;gt; The
above was a question relating to "... with the exception of threads calling
methods via synchronize (so I can debug)." I.e., what are the exact things
you are doing, what is happening, and what are the expected results
regarding trying to debug threads calling methods via synchronize (which, I
assume, works on other platforms but not on Mac OS X).

Sorry.  Kinda missed that.  Debugging heavily threaded code under linux has
proved to be difficult.  So I have developed a directive that triggers
threaded code to execute via synchronize.

I recently cleared all linux issues with a core networking engine (both
client and server) and moved to Apple to test.  On Apple I needed to step
into code that normally runs reentrant from the main thread, from other
threads, and from other threads via synchronize.

On Linux all was fine.  On Apple - I was seeing thread locking to my
network engine in client mode.  Same code, different operation system.  I
traced all the way to the signaling mechanisms in the classes unit.  The
thread went into wait infinite and never executed the method.

So instead of complaining about it here - I decided to method scheduling
system for the engine.  This way when the engine is idle it can execute
methods in its own thread space.  During debug mode I run engine
callbacks via synchronize.  On linux I get no problems.  On Apple I had
gotten tons of timeout errors and weird behavior that takes 5-10 seconds to
step over or into each line!

So I have gdb 7.4.1 from source installed and I can't test.  I may have to
revert back to gdb stock just to get back to work :)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Andrew Brunner</dc:creator>
    <dc:date>2012-05-20T15:00:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27502">
    <title>Re: Darwin i386</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27502</link>
    <description>&lt;pre&gt;
On 20 May 2012, at 15:25, Andrew Brunner wrote:


The above was a question relating to "... with the exception of threads calling methods via synchronize (so I can debug)." I.e., what are the exact things you are doing, what is happening, and what are the expected results regarding trying to debug threads calling methods via synchronize (which, I assume, works on other platforms but not on Mac OS X).


Mainline GDB 7.1 is not supported on Mac OS X 10.7. The first GDB version with 10.7 support is GDB 7.4 (see the release notes at http://sourceware.org/gdb/wiki/GDB_7.4_Release, search for "lion")


The above message means that you have not regenerated the .dSYM bundle with debug information for your application via passing -Xg to the compiler command line options. Either delete the .dSYM bundle, or recompile with -Xg or run dsymutil on the generated binary (make sure to select DWARF debug information when using -Xg/dsymutil on Mac OS X, with Stabs it will probably disable debugging instead).


That is unrelated to FPC or even Lazarus. Maybe mainline GDB does not take into account the property list of the app bundle to launch the application as a foreground application. You can try to work around that by using TransformProcessType with the kProcessTransformToForegroundApplication parameter in your program's initialization code (see e.g. http://cocoadev.com/wiki/TransformProcessType )


You don't have to recompile FPC, the default FPC installation already includes a 64 bit cross-compiler ("ppcx64", or "fpc -P x86_64"). To compile a 64 bit Lazarus on Mac OS X, you will have to select the Qt widgetset since Carbon is not supported in 64 bit mode (and the Cocoa widegetset is not yet sufficiently far along). Regarding how to compile Lazarus so it uses the Qt widget set: I have no idea how to do that, please ask on the Lazarus mailing list (or search the wiki with Google, it's probably documented there somewhere as well).


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jonas Maebe</dc:creator>
    <dc:date>2012-05-20T13:52:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27501">
    <title>Re: Darwin i386</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27501</link>
    <description>&lt;pre&gt;
I'm upgrading my gdb from shipping version with darwin to gdb version from
download.  I downloaded and ran /configure make make install 7.1.  It
doesn't work with fpc.  I'm going to have to switch back.  The newer
versions require code signing...

warning: dsym file UUID doesn't match the one in
/Developer/Source/Builds/Aurawin/AuCloud/Apple/32/AuCloud
(no debugging symbols found)...done.
(gdb) run
Starting program: /Developer/Source/Builds/Aurawin/AuCloud/Apple/32/AuCloud
Unable to find Mach task port for process-id 62916: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
(gdb)

(gdb) run
Starting program: /Developer/Source/Builds/Aurawin/AuCloud/Apple/32/AuCloud
Unable to find Mach task port for process-id 62916: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
(gdb)

BUT: sudo gdb bypasses this problem, and the program can get past this
error but when the program launches, gdb gives

(gdb) run
Starting program: /Developer/Source/Builds/Aurawin/AuCloud/Apple/32/AuCloud
[New Thread 0x2003 of process 62922]
[New Thread 0x2103 of process 62922]
[New Thread 0x2203 of process 62922]
[New Thread 0x2303 of process 62922]
[New Thread 0x2403 of process 62922]
[New Thread 0x2503 of process 62922]
[New Thread 0x2603 of process 62922]
[New Thread 0x2703 of process 62922]
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result
-30585
warning: dsym file UUID doesn't match the one in
/Developer/Source/Builds/Aurawin/AuCloud/Apple/32/AuCloud
(no debugging symbols found)...done.

BUT notice TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with
result -30585.  Now the main screen has no focus.  I can only close the
window :-)

Progress but I need to get gdb 7.1 to run properly on darwin.  Either that
or I gotta restore the old gdb :-(

Google "gdb" together the exact error message you are getting, and you will
I've been.  I didn't have a problem with GCC or GDB.  I've got the latest
and greatest of both.  This is a darwin thing.  gdb can't operate properly
without root access.

I've built a system cert.  I've used codesign -s  gdb-cert ./gdb and darwin
asked for my admin creds.  So I know gdb has been signed.
I used which gdb to make sure I was in the right place to codesign.

Can you tell me how to compile fpc to make 64bit lazarus?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>Andrew Brunner</dc:creator>
    <dc:date>2012-05-20T13:25:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27500">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27500</link>
    <description>&lt;pre&gt;
No, unit System (which uses these include files) is never compiled with $H+.

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Tomas Hajny</dc:creator>
    <dc:date>2012-05-20T13:06:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27499">
    <title>Re: Unicodestrings and Assign(File)</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27499</link>
    <description>&lt;pre&gt;In "fpc\rtl\inc\file.inc" (and fpc\fpc\rtl\inc\text.inc) the declaration 
of "Assign"
uses the generic "String" type for the file name. I think this can be
AnsiString too, so it may be longer than 255 characters.
But the assignment to the internal *rec element "name" (which
is "array[0..255] of char") is done with

Move(s[1],TextRec(t).Name,Length(s));

That would be a bug IMO when S is longer than 255 characters.
"Move" does no range check.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

&lt;/pre&gt;</description>
    <dc:creator>Jürgen Hestermann</dc:creator>
    <dc:date>2012-05-20T12:40:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27498">
    <title>FPMake configure script</title>
    <link>http://permalink.gmane.org/gmane.comp.compilers.free-pascal.general/27498</link>
    <description>&lt;pre&gt;  

Hi, 

I've been playing with a configuration script for my project
some time now. What started as a simple compiled application, it has
changed into a instantFPC script. Today I finally refactored the
majority of the code into a set of classes very similar to how fpmake
works. 

I've attached an example config script together with the utils
unit. My plan is to add some tool classes in the future that check for
installed libraries etc. Please note that this is a very basic
implementation and I'm open for suggestions and tips. Ultimately I would
like to see this to be included in FPC trunk if everyone agrees.


Regards, Darius 
  _______________________________________________
fpc-pascal maillist  -  fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b&amp;lt; at &amp;gt;public.gmane.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal&lt;/pre&gt;</description>
    <dc:creator>dhkblaszyk-47ckw973qWsGTViba+RHyw&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-20T11:22:11</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.compilers.free-pascal.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.compilers.free-pascal.general</link>
  </textinput>
</rdf:RDF>

