Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread A.J. Venter
On Monday 13 February 2006 17:55, Lord Satan wrote: > > Is anybody using a way around or are you all day waiting? > > The way around is running under Linux where linking is much faster. > As often said the speed problems are caused by the GNU linker and AFAIK > there is no way to solve this other t

RE: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread anthony boudouvas
PROTECTED] Sent: Monday, February 13, 2006 9:38 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness? On 2/13/06, anthony boudouvas <[EMAIL PROTECTED]> wrote: > Yes but this way, we have every time we build something faster > link-time, which is esse

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Andreas Berger
Felipe Monteiro de Carvalho wrote: Perhaps the ideal would be if we could have one LCL without smartlinking for the creation process and another with smartlink for the final Release? How big / difficult would this be? Yes, this would really be good. Especially if the one could freely choose

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Felipe Monteiro de Carvalho
On 2/13/06, anthony boudouvas <[EMAIL PROTECTED]> wrote: > Yes but this way, we have every time we build something faster link-time, > which is essential because > we do it continuously, and when we are done we use strip (and then upx) and > we get > smaller executables easily... I think you did n

RE: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread anthony boudouvas
PROTECTED] Sent: Monday, February 13, 2006 7:30 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness? On 2/13/06, anthonyb <[EMAIL PROTECTED]> wrote: > I rebuild Lazarus from the menu and linker seems to be ok now... Is it > the correct way to do so ?? By do

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Felipe Monteiro de Carvalho
On 2/13/06, anthonyb <[EMAIL PROTECTED]> wrote: > I rebuild Lazarus from the menu and linker seems to be ok now... > Is it the correct way to do so ?? By doing this you will lose the benefits of smartlinking, i.e. executables about 30% smaller. This is a exchange. With smartlinking the executable

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Vincent Snijders
anthonyb wrote: I rebuild Lazarus from the menu and linker seems to be ok now... Is it the correct way to do so ?? Actually rebuilding just the LCL is good enough. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with

RE: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread anthonyb
I rebuild Lazarus from the menu and linker seems to be ok now... Is it the correct way to do so ?? -Original Message- From: Johannes Nohl [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 5:43 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Lord Satan
> Is anybody using a way around or are you all day waiting? The way around is running under Linux where linking is much faster. As often said the speed problems are caused by the GNU linker and AFAIK there is no way to solve this other than writing a new linker. __

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-13 Thread Johannes Nohl
And there's really no way to accelerate linking - in any way? Maybe (for testing purposes only) just create a library per unit and form and run it from a earlier compiled and already linked application? It is boring to compare to delphi, allways. But there must be different ways to target. If it is

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Vincent Snijders
Christian U. wrote: you could add a "Final Build" Menu item. I think, this is an good idea, a publish menue Item can strip and maybe upx the executable. An public folder describes where to place the final executable. And that is exactly what publish project can do, when you have configured

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Christian U.
> you could add a "Final Build" Menu item. I think, this is an good idea, a publish menue Item can strip and maybe upx the executable. An public folder describes where to place the final executable. Christian _ To unsubscribe:

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Felipe Monteiro de Carvalho
On 2/12/06, Johannes Nohl <[EMAIL PROTECTED]> wrote: > Isn't it possible to run a compiled application without linking it > together before? Linking is the process of putting the compiler pieces together unit a executable file. So no, you cannot run unless you link. -- Felipe Monteiro de Carvalh

Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Johannes Nohl
Isn't it possible to run a compiled application without linking it together before? For testing a lazarus application it would be enough. If it's possible you could add a "Final Build" Menu item. Or am I completly out of logic? (I'm not very familliar with "internal stuff") __

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-16 Thread Markku Niskanen
On Sun, 15 Jan 2006 20:21:04 +0100, Peter Vreman <[EMAIL PROTECTED]> wrote: >So in short: The only way to get a major speedup in linking is to have an >internal linker so the .o is not needed anymore and can be stored in the Has anyone compared various alternatives for ld (if there are

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread L505
> You can expiriment yourself, use the 2.1.1 compiler from today and compile > everything with option "-WI-". Oh! Send -WI- to the compiler? or the linker with -k ? Lars _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread Peter Vreman
At 22:29 15-1-2006, you wrote: > All those external references to DLLs are generated by the linker and don't > need to be stored in the dcu. For FPC we can do the same since ld now also > supports direct linking to DLL files. When the FPC port to win32 started > that was not the case. > I remem

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread L505
> All those external references to DLLs are generated by the linker and don't > need to be stored in the dcu. For FPC we can do the same since ld now also > supports direct linking to DLL files. When the FPC port to win32 started > that was not the case. > I remember that was discussed in the art

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread Peter Vreman
At 20:40 15-1-2006, you wrote: > So in short: The only way to get a major speedup in linking is to have an > internal linker so the .o is not needed anymore and can be stored in the > ppu. But i don't have the time to code such an internal linker so don't > expect anything before 2007. > > And

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread L505
> So in short: The only way to get a major speedup in linking is to have an > internal linker so the .o is not needed anymore and can be stored in the > ppu. But i don't have the time to code such an internal linker so don't > expect anything before 2007. > > And I wonder about the Windows.a and

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread Peter Vreman
At 20:16 15-1-2006, you wrote: > > > On Sun, 15 Jan 2006, L505 wrote: > > > What do PPU files contain? symbolic links or hard links? > > They don't contain links at all. > The accompagnying .o files contain symbolic links, as they are standard > elf or pecode object files. > > Michael. > Ahh

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread Peter Vreman
At 09:26 15-1-2006, you wrote: What do PPU files contain? symbolic links or hard links? See below: " - The .TPU format doesn't contain symbolic links to other units, it contains hard links to particular offsets in the interface part of other .TPU files. If those other units change their inte

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread L505
> > > On Sun, 15 Jan 2006, L505 wrote: > > > What do PPU files contain? symbolic links or hard links? > > They don't contain links at all. > The accompagnying .o files contain symbolic links, as they are standard > elf or pecode object files. > > Michael. > Ahh I see.. does microsoft visual stu

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread Michael Van Canneyt
On Sun, 15 Jan 2006, L505 wrote: > What do PPU files contain? symbolic links or hard links? They don't contain links at all. The accompagnying .o files contain symbolic links, as they are standard elf or pecode object files. Michael. __

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-15 Thread L505
What do PPU files contain? symbolic links or hard links? See below: " - The .TPU format doesn't contain symbolic links to other units, it contains hard links to particular offsets in the interface part of other .TPU files. If those other units change their interface, the .TPU is made obsolete

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-13 Thread Luiz Americo Pereira Camara
Em Qui, 2006-01-12 às 15:14 -0700, L505 escreveu: > If anyone finds some mailing lists or internet sites that show discussion if > the > gcc/gnu linker speed being improved (or why it is slow) please post in this > thread. > If no one has even made a note to the gcc tool chain team that the link

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-13 Thread Peter Vreman
> Florian Klaempfl wrote: >> Units imported from dlls require import entries. This would increse the >> size of >> executables significantly > > Yes, was afraid of that. We would need to make a wincommon or so, with > all those that LCL uses (or any other measure of "common"), winextra, > win2k, wi

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-13 Thread Micha Nelissen
Florian Klaempfl wrote: Units imported from dlls require import entries. This would increse the size of executables significantly Yes, was afraid of that. We would need to make a wincommon or so, with all those that LCL uses (or any other measure of "common"), winextra, win2k, winxp, etc, Hmm

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread Peter Vreman
> Vincent Snijders wrote: >> An extra handicap for the linker is the fact that the windows unit, >> which is rather large is always smartlinked, resulting in (I estimate) >> ten thouands of object files (archived in the .a file). You probably >> won't have this amount of .o files in c programs. > >

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread Florian Klaempfl
Micha Nelissen wrote: > Vincent Snijders wrote: > >> An extra handicap for the linker is the fact that the windows unit, >> which is rather large is always smartlinked, resulting in (I estimate) >> ten thouands of object files (archived in the .a file). You probably >> won't have this amount of .

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread Micha Nelissen
Vincent Snijders wrote: An extra handicap for the linker is the fact that the windows unit, which is rather large is always smartlinked, resulting in (I estimate) ten thouands of object files (archived in the .a file). You probably won't have this amount of .o files in c programs. Can we sepe

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread Peter Vreman
> Of course it is probably the Win32 linker that is the real slow one, and I > don't know > why that is - so any mailing lists threads or sites you know of please > post them here > and/or discuss. I guess part of the slowness is the use of GROUP() and the large libpwindows.a __

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread Vincent Snijders
L505 wrote: Of course it is probably the Win32 linker that is the real slow one, and I don't know why that is - so any mailing lists threads or sites you know of please post them here and/or discuss. An extra handicap for the linker is the fact that the windows unit, which is rather large is

Re: [lazarus] Who Discussed Linker Slowness?

2006-01-12 Thread L505
> An extra handicap for the linker is the fact that the windows unit, > which is rather large is always smartlinked, resulting in (I estimate) > ten thouands of object files (archived in the .a file). You probably > won't have this amount of .o files in c programs. > > Vincent. > Windows.ppu