Re: [fpc-pascal] Slow compilation

2006-09-02 Thread Mattias Gaertner
On Sat, 2 Sep 2006 12:06:41 +0800 (HKT)
[EMAIL PROTECTED] wrote:

> > On 9/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > wrote:
> >> Hi, does anyone know why lazarus have a slow compilation?
> >
> > I suppose you are talking about windows, right?
> >
> > Then it´s a faq:
> >
> > http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_is_the_linking_so_slow_on_Windows.3F
> >
> Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.

What do you mean with slow?
The first time something is compiled, Linux has to load a lot from disk.
Do you have enough ram?
For example:
Compiling a lazarus application the first time can take 6 seconds and
the second time 1-2 seconds, including linking.
If you started Lazarus in a gnome terminal, then it will be slower.


Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Find the nature of a pointer

2006-09-02 Thread Marco van de Voort
> [EMAIL PROTECTED] (Marco van de Voort) wrote:
> 
> > > I have a function that will receive a Handle. That handle could be a
> > > pointer to a structure, or a object. Is there any safe way to
> > > discover it's nature?
> > 
> > No you can't. 
> > 
> > > The following code will work when the Handle is an Object or nil,
> > > but will crash the application when the Handle is a structure:
> > 
> > It is not even 100% save for that, some systems use other values
> > instead of nil/0. 
> 
> For example?

Admitted, the examples I know are not-protected mode systems with rom or a
zp on address 0. 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Slow compilation

2006-09-02 Thread Felipe Monteiro de Carvalho

On 9/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.


Then I find this strange. I use Mandriva 10.2 and the compilation is
*very* fast.

What is the size of the software you are trying to compile? How much
time does it take?

And what is your computer information? Such as RAM, cpu clock, etc
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Slow compilation

2006-09-02 Thread Flávio Etrusco

Well, "fast" is relative...
FPC is clearly slower than Delphi and Kylix compiler; I'd say it feels
like Delphi is two or three time as fast as FPC.
OTOH, FPC is several times faster than Mono, gcc or MS VisualC.
And I'd say it's on par with Sun's javacc...

-Flávio

On 9/2/06, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:

On 9/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.

Then I find this strange. I use Mandriva 10.2 and the compilation is
*very* fast.

What is the size of the software you are trying to compile? How much
time does it take?

And what is your computer information? Such as RAM, cpu clock, etc
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] broken link

2006-09-02 Thread Krekan
Hello, I didn't know where to post this so I apologize ifI am posting this
to wrong place.
I wanted to know what's new in FPC 2.04 but the file whatsnew.txt is not
there the link is broken. Where should I go to download it?
Krekan

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, September 02, 2006 12:00 PM
Subject: fpc-pascal Digest, Vol 25, Issue 7


> Send fpc-pascal mailing list submissions to
> fpc-pascal@lists.freepascal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fpc-pascal digest..."
>
>
> Today's Topics:
>
>1. Re:  flag or exception? (Bisma Jayadi)
>2. Re:  Slow compilation (Mattias Gaertner)
>3. Re:  Find the nature of a pointer (Marco van de Voort)
>
>
> --
>
> Message: 1
> Date: Sat, 02 Sep 2006 11:03:55 +0700
> From: Bisma Jayadi <[EMAIL PROTECTED]>
> Subject: Re: [fpc-pascal] flag or exception?
> To: FPC-Pascal users discussions 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> > Depends on taste, and they have both advantages and disadvantages.
>
> I've been googling for this subject, but so far I can't find any
satisfying
> explanation about the advantages and disadvantages of each mechanism or a
> comprehensive comparison between the two.
>
> Any URL for this? TIA.
>
> -Bee-
>
> has Bee.ography at:
> http://beeography.wordpress.com
>
>
>
> --
>
> Message: 2
> Date: Sat, 2 Sep 2006 11:22:06 +0200
> From: Mattias Gaertner <[EMAIL PROTECTED]>
> Subject: Re: [fpc-pascal] Slow compilation
> To: fpc-pascal@lists.freepascal.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, 2 Sep 2006 12:06:41 +0800 (HKT)
> [EMAIL PROTECTED] wrote:
>
> > > On 9/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > > wrote:
> > >> Hi, does anyone know why lazarus have a slow compilation?
> > >
> > > I suppose you are talking about windows, right?
> > >
> > > Then it´s a faq:
> > >
> > >
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_is_the_linking_so_slow_on
_Windows.3F
> > >
> > Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.
>
> What do you mean with slow?
> The first time something is compiled, Linux has to load a lot from disk.
> Do you have enough ram?
> For example:
> Compiling a lazarus application the first time can take 6 seconds and
> the second time 1-2 seconds, including linking.
> If you started Lazarus in a gnome terminal, then it will be slower.
>
>
> Mattias
>
>
> --
>
> Message: 3
> Date: Sat, 2 Sep 2006 11:54:34 +0200 (CEST)
> From: [EMAIL PROTECTED] (Marco van de Voort)
> Subject: Re: [fpc-pascal] Find the nature of a pointer
> To: FPC-Pascal users discussions 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="US-ASCII"
>
> > [EMAIL PROTECTED] (Marco van de Voort) wrote:
> >
> > > > I have a function that will receive a Handle. That handle could be a
> > > > pointer to a structure, or a object. Is there any safe way to
> > > > discover it's nature?
> > >
> > > No you can't.
> > >
> > > > The following code will work when the Handle is an Object or nil,
> > > > but will crash the application when the Handle is a structure:
> > >
> > > It is not even 100% save for that, some systems use other values
> > > instead of nil/0.
> >
> > For example?
>
> Admitted, the examples I know are not-protected mode systems with rom or a
> zp on address 0.
>
>
> --
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> End of fpc-pascal Digest, Vol 25, Issue 7
> *
>
>
> __ Informacia od NOD32 1.1736 (20060902) __
>
> Tato sprava bola preverena antivirusovym systemom NOD32.
> http://www.eset.sk
>
>

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal