Graeme Geldenhuys wrote:
2012/3/26 Juha Manninen juha.mannine...@gmail.com: and -O2 -g- -Xs -CX -XX
both produce an executable of size 23649 KB on my 64-bit Linux system using QT bindings. Is it
a Linux linker related issue?
I have never found the -Xs to work under Linux. 32-bit or 64-bit.
On Sun, Mar 25, 2012 at 03:33:17PM +0300, Juha Manninen wrote:
I added -CX to the Configure Build Lazarus dialog for Optimized IDE
profile on my Mint Linux 64-bit + QT mapping.
It made absolutely no difference for executable size! Why?
-CX compiles units with smartlinking
-XX compiles
On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort mar...@stack.nlwrote:
-CX compiles units with smartlinking
-XX compiles binaries with smartlinking.
When -XX is used, only units compiled with -CX will give size benefits (if
relevant)
Ok, I added -XX and rebuilt Lazarus. Still the
Am 26.03.2012 12:10, schrieb Juha Manninen:
On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort mar...@stack.nl
mailto:mar...@stack.nl wrote:
-CX compiles units with smartlinking
-XX compiles binaries with smartlinking.
When -XX is used, only units compiled with -CX will give
On Mon, Mar 26, 2012 at 1:13 PM, Sven Barth pascaldra...@googlemail.comwrote:
Did this also trigger a recompile of the LCL and all used packages?
Otherwise it might indeed be linker related.
Yes, all units and packages are built automatically when the options are
changed in Configure Build
I added -CX to the Configure Build Lazarus dialog for Optimized IDE
profile on my Mint Linux 64-bit + QT mapping.
It made absolutely no difference for executable size! Why?
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Bernd wrote:
2012/3/21 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk:
On Linux x86 (Debian Squeeze) with gtk2, freshly-created minimal project
with full optimisation, no debug, optimise for minimum size and smart
linking comes to 3,459,960 bytes.
That's... such a disparity from what I've
On Sat, 24 Mar 2012 10:03:11 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:
[...]
I add -CX to the build options inside the IDE, set up a virgin project
and build it. Binary size is 2,161,352 bytes.
So what appears to be happening is that on Linux (and possibly other
unix)
Mattias Gaertner wrote:
On Sat, 24 Mar 2012 10:03:11 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:
[...]
I add -CX to the build options inside the IDE, set up a virgin project
and build it. Binary size is 2,161,352 bytes.
So what appears to be happening is that on Linux
On Sat, Mar 24, 2012 at 10:41:01AM +, Mark Morgan Lloyd wrote:
I think that I'll at least modify the scripts I use to download/build
Lazarus to warn if -CX isn't in fpc.cfg.
Are there any disadvantages to adding -CX to fpc.cfg? If it's in there
as the default is there a way of
Mattias Gaertner wrote:
On Thu, 22 Mar 2012 18:31:06 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:
Felipe Monteiro de Carvalho wrote:
I did some tests here and I guess this is simply the normal size of an
app if you use ComCtrls. 1,5MB was for a minimal app with a form and
Hello,
This is clearly something from UNIXes. I just tested using LCL-Win32
and a minimal app with 1 form and 1 button has 1,62MB
In Mac OS X my result was 2,8MB
I suspect that the smartlinking is less efficient in UNIXes.
--
Felipe Monteiro de Carvalho
--
Am 23.03.2012 11:10, schrieb Felipe Monteiro de Carvalho:
Hello,
This is clearly something from UNIXes. I just tested using LCL-Win32
and a minimal app with 1 form and 1 button has 1,62MB
In Mac OS X my result was 2,8MB
I suspect that the smartlinking is less efficient in UNIXes.
Might be
On Thu, Mar 22, 2012 at 12:22:12AM -0400, waldo kitty wrote:
are also others that were used between bbs door games/apps and the
terminal...
globalwar was one of those games and tradewars also had one ;)
Tradewars originally was a Turbo Pascal app (for very old WWIV versions,
source is
On Fri, Mar 23, 2012 at 11:10:46AM +0100, Felipe Monteiro de Carvalho wrote:
This is clearly something from UNIXes. I just tested using LCL-Win32
and a minimal app with 1 form and 1 button has 1,62MB
In Mac OS X my result was 2,8MB
I suspect that the smartlinking is less efficient in
2012/3/21 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk:
On Linux x86 (Debian Squeeze) with gtk2, freshly-created minimal project
with full optimisation, no debug, optimise for minimum size and smart
linking comes to 3,459,960 bytes.
That's... such a disparity from what I've been told to
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with their
teeth. I don't want them to say Binaries bigger than 1Mb? NBG.
I wonder how mainframe applications
On 21 March 2012 12:42, Mark Morgan Lloyd markMLl.lazarus@ wrote:
A program built using (some version of) Delphi comes to about 317Kb, but
even with a manual strip the best I can do with Lazarus/FPC is pushing 3Mb.
Now for domestic consumption I can live with that, but I don't think it
On Wed, Mar 21, 2012 at 10:02 PM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
Can't see it in trunk. Is it from an optional package?
No, it is part of the standard IDE. For me it is right under Project Options.
--
Felipe Monteiro de Carvalho
--
Felipe Monteiro de Carvalho wrote:
On Wed, Mar 21, 2012 at 10:02 PM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
Can't see it in trunk. Is it from an optional package?
No, it is part of the standard IDE. For me it is right under Project Options.
I don't see it here, on trunk
Graeme Geldenhuys wrote:
On 21 March 2012 12:42, Mark Morgan Lloyd markMLl.lazarus@ wrote: A program built using
(some version of) Delphi comes to about 317Kb, but even with a manual strip the best I can do with
Lazarus/FPC is pushing 3Mb. Now for domestic consumption I can live with that,
Am 22.03.2012 11:06, schrieb Mark Morgan Lloyd:
Felipe Monteiro de Carvalho wrote:
On Wed, Mar 21, 2012 at 10:02 PM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
Can't see it in trunk. Is it from an optional package?
No, it is part of the standard IDE. For me it is right under
On 22 March 2012 12:09, Mark Morgan Lloyd markMLl.lazarus@ wrote:
NO. Definitely not, under the circumstances. As I've already said: what
No problem, just thought I would mention it.
BTW:
[just for comparison sake]
By default a simple test app - one Form, one Button and one Label,
produces
Sven Barth wrote:
Am 22.03.2012 11:06, schrieb Mark Morgan Lloyd:
Felipe Monteiro de Carvalho wrote:
On Wed, Mar 21, 2012 at 10:02 PM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
Can't see it in trunk. Is it from an optional package?
No, it is part of the standard IDE. For me
Mark Morgan Lloyd schrieb:
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with
their teeth. I don't want them to say Binaries bigger than 1Mb? NBG.
I wonder
On 22/03/2012 10:06, Mark Morgan Lloyd wrote:
Felipe Monteiro de Carvalho wrote:
On Wed, Mar 21, 2012 at 10:02 PM, Mark Morgan Lloyd
markmll.laza...@telemetry.co.uk wrote:
Can't see it in trunk. Is it from an optional package?
No, it is part of the standard IDE. For me it is right under
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with
their teeth. I don't want them to say Binaries
On 22 March 2012 13:04, Felipe Monteiro de Carvalho wrote:
Even smaller then fpgui because LCL-CustomDrawn has it's own text
rendering system =)
Interesting, but unfortunately it seems LCL-CustomDrawn is still far
from real-world usage, so I don't think it can be counted (yet). From
what I
On Thu, Mar 22, 2012 at 1:29 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
Interesting, but unfortunately it seems LCL-CustomDrawn is still far
from real-world usage, so I don't think it can be counted (yet). From
what I have read, it doesn't seem feature complete or stable. eg: just
On 22 March 2012 13:04, Felipe Monteiro de Carvalho wrote:
Even smaller then fpgui because LCL-CustomDrawn has it's own text
rendering system =)
But can it do this? ;-)
[see attached screenshot]
--
Regards,
- Graeme -
___
fpGUI - a
On 22 March 2012 14:49, Felipe Monteiro de Carvalho wrote:
Could you show me the output of locate .ttf ? (a stripped down
version ideally with each dir occuring only once)
I zipped the output to make it smaller. Sorry, I have no idea how to
filter the output to only show unique directory
2012/3/22 Graeme Geldenhuys graemeg.li...@gmail.com:
On 22 March 2012 13:04, Felipe Monteiro de Carvalho wrote:
Even smaller then fpgui because LCL-CustomDrawn has it's own text
rendering system =)
But can it do this? ;-)
[see attached screenshot]
WOW!!!
clap-clap-clap!
Marcos Douglas
On 22 March 2012 15:03, Marcos Douglas wrote:
WOW!!!
clap-clap-clap!
:-)
I wish I could take all the credit, but I can't. Milano did some
excellent work with AggPas. I then incorporated it into fpGUI as one
of the standard canvas classes (and made sure it's 100% backward
compatible with the
Am 22.03.2012 14:02, schrieb Graeme Geldenhuys:
On 22 March 2012 14:49, Felipe Monteiro de Carvalho wrote:
Could you show me the output of locate .ttf ? (a stripped down
version ideally with each dir occuring only once)
I zipped the output to make it smaller. Sorry, I have no idea how to
On 22 March 2012 15:21, Sven Barth wrote:
Can it be that you forget the attachment?
Oops, the compression ratio was set to high. ;-)
--
Regards,
- Graeme -
___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
2012/3/22 Graeme Geldenhuys graemeg.li...@gmail.com:
But can it do this? ;-)
Well, mine can read your GPS position, accelerometer info and send
SMSes in Android phones =D And it also works in Mac OS X with Cocoa
...
And anyway, what people really want is the LCL, not yet another API.
You can
Am 22.03.2012 14:02, schrieb Graeme Geldenhuys:
On 22 March 2012 14:49, Felipe Monteiro de Carvalho wrote:
Could you show me the output of locate .ttf ? (a stripped down
version ideally with each dir occuring only once)
I zipped the output to make it smaller. Sorry, I have no idea how to
2012/3/22 Graeme Geldenhuys graemeg.li...@gmail.com:
Oops, the compression ratio was set to high. ;-)
Are you using the latest Lazarus SVN?
Because if it was a font or system compatibility issue then the button
would not work. So I suspect you are using an old revision.
--
Felipe Monteiro de
On 22 March 2012 13:04, Felipe Monteiro de Carvalho wrote:
You can test for yourself
lazarus-ccr/applications/lazclock/lazclock.lpi against LCL-CustomDrawn
You cheated - the clock face is a PNG image. ;-)
Here is a quick fpGUI version. :) Added features includes:
anti-aliased line drawing
On 22 March 2012 15:41, Sven Barth wrote:
Now that you have attached your file I need to say: You don't need regex
skills for that. The following program would have been sufficient:
Rolling on the floor laughing! Once again, proof that Object Pascal
can do everything other languages or tools
On 22 March 2012 16:00, Felipe Monteiro de Carvalho wrote:
Are you using the latest Lazarus SVN?
A revision from last week. Is that too old? I'll get another Lazarus
update, just in case.
PS:
I'm using 64-bit Linux with FPC 2.6.1
--
Regards,
- Graeme -
Felipe Monteiro de Carvalho wrote:
I did some tests here and I guess this is simply the normal size of an
app if you use ComCtrls. 1,5MB was for a minimal app with a form and
some buttons. ComCtrls alone adds 1MB You can check this in the menu
Project-Show used ppu files (might be 0.9.31+ only).
Before anything else: I've read and digested the wiki page on binary
size, and the related FAQ entry.
I'm knocking together a couple of programs in Lazarus to do jobs
relating to IBM mainframes, partly because the existing tools run only
on Windows, and partly to showcase Lazarus's
The initial size of Lazarus applications is 1,5MB unless smartlinking
fails or is off, then it will be 3MB. Which operating system and
architecture are you using? Which Lazarus/fpc versions?
Did you turn smartlinking on? -XX
Should this have extra options to force everything possible in the LCL
On 21/03/2012 10:42, Mark Morgan Lloyd wrote:
A program built using (some version of) Delphi comes to about 317Kb,
but even with a manual strip the best I can do with Lazarus/FPC is
pushing 3Mb. Now for domestic consumption I can live with that, but I
don't think it looks very good if I
Felipe Monteiro de Carvalho wrote:
The initial size of Lazarus applications is 1,5MB unless smartlinking
fails or is off, then it will be 3MB. Which operating system and
architecture are you using? Which Lazarus/fpc versions?
Debian Linux on x86. Lazarus 0.9.30.4 and FPC 2.6.0 (both built from
Martin wrote:
On 21/03/2012 10:42, Mark Morgan Lloyd wrote:
A program built using (some version of) Delphi comes to about 317Kb,
but even with a manual strip the best I can do with Lazarus/FPC is
pushing 3Mb. Now for domestic consumption I can live with that, but I
don't think it looks very
I did some tests here and I guess this is simply the normal size of an
app if you use ComCtrls. 1,5MB was for a minimal app with a form and
some buttons. ComCtrls alone adds 1MB You can check this in the menu
Project-Show used ppu files (might be 0.9.31+ only).
Still I find it a quite small size
Felipe Monteiro de Carvalho wrote:
I did some tests here and I guess this is simply the normal size of an
app if you use ComCtrls. 1,5MB was for a minimal app with a form and
some buttons. ComCtrls alone adds 1MB You can check this in the menu
Project-Show used ppu files (might be 0.9.31+ only).
On 21/03/2012 14:07, Paul Ishenin wrote:
21.03.12 20:06, Martin wrote:
Compiling an empty form, smartlink, withdout heaptrc, and stripped (use
strip.exe) should come to 1.9 Mb on Lazarus trunk.
As I remember that was about 1.6 Mb but with win32 widgetset. Gtk2
widgetset need much work to
Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd:
Still I find it a quite small size for our days. If you were using
Gtk2 directly then your Windows build would have 150MB or something
like that =) About Delphi 7, remember that it is a single-platform
toolkit which just wraps the Windows API for
Sven Barth wrote:
Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with their
teeth. I don't want them to say Binaries bigger than 1Mb? NBG.
Maybe it would be better
Am 21.03.2012 17:25, schrieb Mark Morgan Lloyd:
Sven Barth wrote:
Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with their
teeth. I don't want them to say Binaries
On Wed, Mar 21, 2012 at 10:42:23AM +, Mark Morgan Lloyd wrote:
Before anything else: I've read and digested the wiki page on binary
size, and the related FAQ entry.
Good.
I'm knocking together a couple of programs in Lazarus to do jobs
relating to IBM mainframes, partly because the
Mark Morgan Lloyd wrote:
Felipe Monteiro de Carvalho wrote:
I did some tests here and I guess this is simply the normal size of an
app if you use ComCtrls. 1,5MB was for a minimal app with a form and
some buttons. ComCtrls alone adds 1MB You can check this in the menu
Project-Show used ppu
On 21/03/2012 21:02, Mark Morgan Lloyd wrote:
Brought trunk up to date, compiled with 2.6.0. FPC itself is compiled
with -O- -gl, ld is version 2.20.1.
On Linux x86 (Debian Squeeze) with gtk2, freshly-created minimal
project with full optimisation, no debug, optimise for minimum size
and
Mark Morgan Lloyd schrieb:
But the bottom line is that the target audience is IBM mainframe
hackers, used to handcrafting assembler and punching EBCDIC with their
teeth. I don't want them to say Binaries bigger than 1Mb? NBG.
I wonder how mainframe applications can make use of a GUI at all?
On 3/21/2012 21:38, Hans-Peter Diettrich wrote:
Mark Morgan Lloyd schrieb:
But the bottom line is that the target audience is IBM mainframe hackers, used
to handcrafting assembler and punching EBCDIC with their teeth. I don't want
them to say Binaries bigger than 1Mb? NBG.
I wonder how
58 matches
Mail list logo