Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread L505

> Anyone know how can I find out my LD version if I just have the executable 
> handy? I don't
> see it in the |properties|summary|version|


Of course you just type 
  
 ld -v 

and it spits out the version.

Mine is:

GNU ld version 2.15.91 20040904

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread Andrew Haines

L505 wrote:


ld version - from binutils 2.15.92.0.2

*cast confusion. on .

A.J.
   




Anyone know how can I find out my LD version if I just have the executable 
handy? I don't
see it in the |properties|summary|version|


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

 


usually from a commandline you type: ld --version

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread Darius Blaszijk
> Anyone know how can I find out my LD version if I just have the executable 
> handy? I don't
> see it in the |properties|summary|version|

ld --version

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread L505

> ld version - from binutils 2.15.92.0.2
>
> *cast confusion. on .
>
> A.J.


Anyone know how can I find out my LD version if I just have the executable 
handy? I don't
see it in the |properties|summary|version|


_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread A.J. Venter
Ok some stats from my setup then:
Lazarus version: Subversion checkout on saturday (same happened with 0.9.8 
however)

CPU: AMD Sempron 2800+
CPU Mhz: 1600
Acer Aspire 3000

ld version - from binutils 2.15.92.0.2

*cast confusion. on .

A.J.
On Tuesday 30 August 2005 20:01, L505 wrote:
> Tested linking times (not including compiling time)
>
> Lazarus:
> -
>lazarus.new.exe
>2 minutes : 37 seconds
>
>
> StartLazarus
> -
>   lazarus.new.exe
>   2 minutes : 54 seconds
>
> Celeron 400mhz, 327MB RAM, Windows 2000
> Lazarus Version: 0.9.7 RB Alpha
> LD.exe version: not sure, it is 279,552B in size
>
-- 
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com
http://www.silentcoder.co.za

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread L505
Tested linking times (not including compiling time)

Lazarus:
-
   lazarus.new.exe
   2 minutes : 37 seconds


StartLazarus
-
  lazarus.new.exe
  2 minutes : 54 seconds

Celeron 400mhz, 327MB RAM, Windows 2000
Lazarus Version: 0.9.7 RB Alpha
LD.exe version: not sure, it is 279,552B in size

Maybe some people can try on Lazarus 0.9.8 and later, and of course on other 
platforms.
I just use a chronograph on a stopwatch. I recommend turing off "clean all" and 
only
building the IDE itself, if you are going to be doing this.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-30 Thread Luiz Americo

A.J. Venter wrote:

Right, I can't be certain the drive is fine of course, but it is brand new - 
I've have this laptop less than a month. It isn't a great work horse but it's 
all I got until my desktop CPU comes back from repairs.


That said, dmesg and messages are both empty,  and it does finish, machine has 
180mb of ram. 
 

I didn't cited, but in my case, the slowdown in the linking stage is 
also due to  high cpu time consum. This is observed only in large 
projects like the Lazarus ide, meaning that is a ld issue and not fpc issue.


Luiz

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread A.J. Venter
Right, I can't be certain the drive is fine of course, but it is brand new - 
I've have this laptop less than a month. It isn't a great work horse but it's 
all I got until my desktop CPU comes back from repairs.

That said, dmesg and messages are both empty,  and it does finish, machine has 
180mb of ram. 

A.J.
-- 
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com
http://www.silentcoder.co.za

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread L505
Tests done on blank project1
Compiling and Linking is included in the times.

First Round:
-
  Startlazarus.exe:
  56 seconds (blank project)

  Lazarus.exe
  36 seconds (blank project)

Second round

(IDE closed, then re-opened completely)

  Startlazarus.exe:
  31 seconds (blank project)

  Lazarus
  24 seconds (blank project)

Third round :
-
(IDE closed, then re-opened completely)

  Startlazarus.exe:
  25 seconds (blank project)

  Lazarus
  25 seconds (blank project)

Delphi:

First Round:
-
(IDE closed, then re-opened completely)
  5 seconds

Second Round:

(IDE closed, then re-opened completely)
  2 seconds

400mhz Celeron Windows 2000
Lazarus Version: 0.9.7 RB Alpha

Conclusion: In this particular case I don't think there is an issue. Maybe only 
0.9.8  or
something? The results I got above show the typical memory management 
situation... sometimes
you get faster compiler times just depending on the computer state. As for 
A.J.'s case,
that's something bizarre that we will have to sort out.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread Luiz Americo

A.J. Venter wrote:

Interestingly, while linking the rest of the computer becomes pretty much 
unusable, I suspect my laptop's drive is not of the fastest and this is what 
slows down ld, which in turn ties up the system .
What I don't get is why running startlazarus would have such a massive impact 
on these IO times ?
 


Here i get the same problem while compiling Lazarus (in the linking stage)

fpc 2.0.0 + lazarus SVN + WindowsXP
Athlon XP 2600 + 512MBDDR + SEAGATE 80GB (I don't know the model but is new)

Luiz

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread Marc Weustink

A.J. Venter wrote:
Okay, I have absolutely no idea how the two things are related, but I have 
tried and retried for confirmation and it keeps happening.


Currently, OLAD has gotten pretty big, fpc tells me it's compiling 15442 lines 
to build (it was actually over 19 000 earlier today but I've spent most of 
the day doing code cleanups). 
Now, after building, you see it linking. This takes a while.
My current setup is lazarus running as a GTK1.2 app, compiling OLAD as a GTK2 
app, but using the GTK2 IDE didn't affect these results.


Start the IDE with command ./lazarus: link time approximately 2 minutes, 
Start tthe IDE with command ./startlazarus: link time ranging between 30 and 
45 minutes (I am not making this up !).


Out of memory ?

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread Micha Nelissen
On Mon, 29 Aug 2005 20:51:00 +0200
"A.J. Venter" <[EMAIL PROTECTED]> wrote:

> Start the IDE with command ./lazarus: link time approximately 2 minutes, 
> Start tthe IDE with command ./startlazarus: link time ranging between 30 and 
> 45 minutes (I am not making this up !).
> 
> Even the 2 mins is a LOT since nothing else is that slow, but I know 
> lazarus/fpc links differently due to the pascal model and for the rest of it 
> I'm willing to live with that, according to PS, ld is in an uninteruptable 
> sleep, waiting for IO. 

I hope your hard drive is not dying ... did you check /var/log/syslog and
messages for possible trouble ?

> Interestingly, while linking the rest of the computer becomes pretty much 
> unusable, I suspect my laptop's drive is not of the fastest and this is what 
> slows down ld, which in turn ties up the system .

Usually I/O is done quite well in the "background" ...

> What I don't get is why running startlazarus would have such a massive impact 
> on these IO times ?

I don't know for sure, as well.

Micha

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Bugs ? Startlazarus increases link times

2005-08-29 Thread A.J. Venter
Okay, I have absolutely no idea how the two things are related, but I have 
tried and retried for confirmation and it keeps happening.

Currently, OLAD has gotten pretty big, fpc tells me it's compiling 15442 lines 
to build (it was actually over 19 000 earlier today but I've spent most of 
the day doing code cleanups). 
Now, after building, you see it linking. This takes a while.
My current setup is lazarus running as a GTK1.2 app, compiling OLAD as a GTK2 
app, but using the GTK2 IDE didn't affect these results.

Start the IDE with command ./lazarus: link time approximately 2 minutes, 
Start tthe IDE with command ./startlazarus: link time ranging between 30 and 
45 minutes (I am not making this up !).

Even the 2 mins is a LOT since nothing else is that slow, but I know 
lazarus/fpc links differently due to the pascal model and for the rest of it 
I'm willing to live with that, according to PS, ld is in an uninteruptable 
sleep, waiting for IO. 
These results are with lazarus from subversion built last night.

Interestingly, while linking the rest of the computer becomes pretty much 
unusable, I suspect my laptop's drive is not of the fastest and this is what 
slows down ld, which in turn ties up the system .
What I don't get is why running startlazarus would have such a massive impact 
on these IO times ?

I'll be happy to provide whatever information could help solve it.

PS. In both cases I'm runing lazarus from an install in ~/lazarus/

Ciao
A.J.

-- 
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com
http://www.silentcoder.co.za

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives