+ From: Brad Campbell + + I have tried to build Lazarus smartlinked on my laptop (1GHZ…
you wrote 14 lines
Usually, the huge compilation times come from the external assembler.

Mailing lists / lazarus / 2002-11
6 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
+ From: Brad Campbell + + I have tried to build Lazarus smartlinked on my laptop (1GHZ…
Usually, the huge compilation times come from the external assembler.
Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop.…
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
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..
Oh yes, building a non-smartlinked version takes only a couple of minutes on my laptop. It's not a lazarus problem.
Brad.
G'day All. Cheers for the compile fix Mattias, that solved it nicely. I managed to build…
I have added/fixed the smart linking options in the compiler options dialog.
Mattias
G'day All. Cheers for the compile fix Mattias, that solved it nicely. I managed to build…
+ 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)
Marc