Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-11

File sizes

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Florian Klaempfl
to Marc Weustink: + From: Brad Campbell + + I have tried to build Lazarus smartlinked on my laptop (1GHZ…
you wrote 14 lines
At 10:34 AM 11/13/02 +0100, you wrote: >+ From: Brad Campbell >+ >+ I have tried to build Lazarus smartlinked on my laptop (1GHZ PIII >+ with 128MB of ram) but even leaving it running overnight, it has >+ not completed. >+ >+ Not a problem, just an observation :p) > >Is this a smartlink issue ? Building Lazarus most times takes a few minutes >in my case (dual PII 266 with 96 MB) Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop. It's not a lazarus problem.

Usually, the huge compilation times come from the external assembler.

Reply by email

Peter Vreman
to Brad Campbell: Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop.…
you wrote 17 lines
At 10:46 13.11.2002, you wrote: >At 10:34 AM 11/13/02 +0100, you wrote: > >+ From: Brad Campbell > >+ > >+ I have tried to build Lazarus smartlinked on my laptop (1GHZ PIII > >+ with 128MB of ram) but even leaving it running overnight, it has > >+ not completed. > >+ > >+ Not a problem, just an observation :p) > > > >Is this a smartlink issue ? Building Lazarus most times takes a few minutes > >in my case (dual PII 266 with 96 MB) > >Oh yes, building a non-smartlinked version takes only a couple of minutes >on my laptop. It's not a lazarus problem. Usually, the huge compilation times come from the external assembler.

Try the 1.1 compiler it has an internal ELF object writer that is able to generate the smartlink libraries (.a files) on the fly.

Peter

Reply by email

Brad Campbell

G'day All.

Cheers for the compile fix Mattias, that solved it nicely.

I managed to build Lazarus and it's libs smartlinked. I needed 10 minutes and 500MB of ram on a dual processor Athlon 2000+ machine to do it though :p). ( I mean ld used 500MB of ram to link lazarus. Running on a machine with 1GB)

examples/hello.pp builds to 3.0MB using static linking, 1.6MB using smart linking and 600KB using Smartlinking and then using strip on the file.

Mucho improvement.

I have tried to build Lazarus smartlinked on my laptop (1GHZ PIII with 128MB of ram) but even leaving it running overnight, it has not completed.

Not a problem, just an observation :p)

Lazarus is shaping up nicely.

Thanks to all involved.
Brad..

Reply by email

Brad Campbell
to Brad Campbell
you wrote 10 lines
+ From: Brad Campbell + + I have tried to build Lazarus smartlinked on my laptop (1GHZ PIII + with 128MB of ram) but even leaving it running overnight, it has + not completed. + + Not a problem, just an observation :p) Is this a smartlink issue ? Building Lazarus most times takes a few minutes in my case (dual PII 266 with 96 MB)

Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop. It's not a lazarus problem.

Brad.

Reply by email

Mattias Gaertner
to Brad Campbell: G'day All. Cheers for the compile fix Mattias, that solved it nicely. I managed to build…
Show quoted text 14 lines
At 10:34 AM 11/13/02 +0100, you wrote: >+ From: Brad Campbell >+ >+ I have tried to build Lazarus smartlinked on my laptop (1GHZ PIII >+ with 128MB of ram) but even leaving it running overnight, it has >+ not completed. >+ >+ Not a problem, just an observation :p) > >Is this a smartlink issue ? Building Lazarus most times takes a few >minutes in my case (dual PII 266 with 96 MB) Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop. It's not a lazarus problem.

I have added/fixed the smart linking options in the compiler options dialog.

Mattias

Reply by email